2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.controller.controllermanager.northbound;
10 import java.util.HashSet;
13 import org.junit.Assert;
14 import org.junit.Test;
15 import org.opendaylight.controller.sal.core.Property;
17 public class ControllerManagerNorthboundTest {
20 public void testControllerProperties() {
21 ControllerProperties controllerProperties = new ControllerProperties(null);
22 Assert.assertTrue(controllerProperties.getProperties() == null);
24 Set<Property> properties = new HashSet<Property>();
25 controllerProperties.setProperties(properties);
26 Assert.assertTrue(controllerProperties.getProperties().equals(properties));