1 package org.opendaylight.controller.controllermanager.northbound;
3 import java.util.HashSet;
6 import junit.framework.TestCase;
8 import org.junit.Assert;
10 import org.opendaylight.controller.sal.core.Property;
12 public class ControllerManagerNorthboundTest extends TestCase {
15 public void testControllerProperties() {
16 ControllerProperties controllerProperties = new ControllerProperties(null);
17 Assert.assertTrue(controllerProperties.getProperties() == null);
19 Set<Property> properties = new HashSet<Property>();
20 controllerProperties.setProperties(properties);
21 Assert.assertTrue(controllerProperties.getProperties().equals(properties));