a57e615618a8b0854e9ed07721c6df1d2857b247
[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 junit.framework.TestCase;
7
8 import org.junit.Assert;
9 import org.junit.Test;
10 import org.opendaylight.controller.sal.core.Property;
11
12 public class ControllerManagerNorthboundTest extends TestCase {
13
14     @Test
15     public void testControllerProperties() {
16         ControllerProperties controllerProperties = new ControllerProperties(null);
17         Assert.assertTrue(controllerProperties.getProperties() == null);
18
19         Set<Property> properties = new HashSet<Property>();
20         controllerProperties.setProperties(properties);
21         Assert.assertTrue(controllerProperties.getProperties().equals(properties));
22     }
23
24 }