Move adsal into its own subdirectory.
[controller.git] / opendaylight / adsal / northbound / controllermanager / src / test / java / org / opendaylight / controller / controllermanager / northbound / ControllerManagerNorthboundTest.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.controllermanager.northbound;
9
10 import java.util.HashSet;
11 import java.util.Set;
12
13 import org.junit.Assert;
14 import org.junit.Test;
15 import org.opendaylight.controller.sal.core.Property;
16
17 public class ControllerManagerNorthboundTest {
18
19     @Test
20     public void testControllerProperties() {
21         ControllerProperties controllerProperties = new ControllerProperties(null);
22         Assert.assertTrue(controllerProperties.getProperties() == null);
23
24         Set<Property> properties = new HashSet<Property>();
25         controllerProperties.setProperties(properties);
26         Assert.assertTrue(controllerProperties.getProperties().equals(properties));
27     }
28
29 }