unitests: Remove extending TestCase from unitest classes.
[controller.git] / opendaylight / northbound / controllermanager / src / test / java / org / opendaylight / controller / controllermanager / northbound / ControllerManagerNorthboundTest.java
1 package org.opendaylight.controller.controllermanager.northbound;
2
3 import java.util.HashSet;
4 import java.util.Set;
5
6 import org.junit.Assert;
7 import org.junit.Test;
8 import org.opendaylight.controller.sal.core.Property;
9
10 public class ControllerManagerNorthboundTest {
11
12     @Test
13     public void testControllerProperties() {
14         ControllerProperties controllerProperties = new ControllerProperties(null);
15         Assert.assertTrue(controllerProperties.getProperties() == null);
16
17         Set<Property> properties = new HashSet<Property>();
18         controllerProperties.setProperties(properties);
19         Assert.assertTrue(controllerProperties.getProperties().equals(properties));
20     }
21
22 }