Cleanup API components
[mdsal.git] / dom / mdsal-dom-api / src / test / java / org / opendaylight / mdsal / dom / api / DOMDataTreeIdentifierTest.java
index 2e3696e367c7dcec6b44b31f04309ae02dc7270b..7309c17a587ddc10387cf2e279f1e47ce462f418 100644 (file)
@@ -41,16 +41,6 @@ public class DOMDataTreeIdentifierTest {
         assertNotNull("Instantiation", new DOMDataTreeIdentifier(LogicalDatastoreType.OPERATIONAL, REF_YII_IID));
     }
 
-    @Test(expected = NullPointerException.class)
-    public void firstArgumentNullTest() throws Exception {
-        new DOMDataTreeIdentifier(null, REF_YII_IID);
-    }
-
-    @Test(expected = NullPointerException.class)
-    public void secondArgumentNullTest() throws Exception {
-        new DOMDataTreeIdentifier(LogicalDatastoreType.OPERATIONAL, null);
-    }
-
     @Test
     public void hashCodeTest() {
         assertEquals("hashCode", REF_TREE.hashCode(), new DOMDataTreeIdentifier(LogicalDatastoreType.OPERATIONAL,