Remove yang-test
[controller.git] / opendaylight / config / config-api / src / test / java / org / opendaylight / controller / config / api / ModuleIdentifierTest.java
index c0e584a0986009499b8dc6601c0f529318b95ee3..2e78e69ed4b4d0a3d8bfb9f31d8706a2c14c42e6 100644 (file)
@@ -1,24 +1,30 @@
-package org.opendaylight.controller.config.api;
+/*
+ * Copyright (c) 2014, 2017 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
 
-import junit.framework.Assert;
-import org.junit.Test;
+package org.opendaylight.controller.config.api;
 
 import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertNotEquals;
 
+import org.junit.Test;
+
 public class ModuleIdentifierTest {
     String fact = new String("factory");
     String inst = new String("instance");
 
     @Test(expected = IllegalArgumentException.class)
     public void testConstructor() throws Exception {
-        ModuleIdentifier m = new ModuleIdentifier(null, "instance");
+        ModuleIdentifier moduleIdentifier = new ModuleIdentifier(null, "instance");
     }
 
     @Test(expected = IllegalArgumentException.class)
     public void testConstructor2() throws Exception {
-        ModuleIdentifier m = new ModuleIdentifier("name", null);
+        ModuleIdentifier moduleIdentifier = new ModuleIdentifier("name", null);
     }
 
     @Test
@@ -57,7 +63,7 @@ public class ModuleIdentifierTest {
 
     @Test
     public void testToString() throws Exception {
-        assertEquals( new ModuleIdentifier("factory", "instance").toString(),
+        assertEquals(new ModuleIdentifier("factory", "instance").toString(),
                 new ModuleIdentifier("factory", "instance").toString());
     }
 }