+++ /dev/null
-\r
-/*\r
- * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-\r
-package org.opendaylight.controller.containermanager.internal;\r
-\r
-\r
-import org.junit.Test;\r
-import org.opendaylight.controller.sal.utils.GlobalConstants;\r
-\r
-import java.util.ArrayList;\r
-\r
-import static org.junit.Assert.assertEquals;\r
-import static org.junit.Assert.assertFalse;\r
-\r
-\r
-public class ContainerManagerTest {\r
-\r
- @Test\r
- public void test() {\r
- ContainerManager cm = new ContainerManager();\r
-\r
- cm.init();\r
-\r
- ArrayList<String> names = (ArrayList<String>) cm.getContainerNames();\r
- assertEquals(1, names.size());\r
- assertEquals(GlobalConstants.DEFAULT.toString(), names.get(0));\r
-\r
- assertFalse(cm.hasNonDefaultContainer());\r
-\r
- cm.destroy();\r
-\r
- }\r
-\r
-}\r