Migrate from YangInstanceIdentifier.EMPTY
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / java / org / opendaylight / controller / cluster / datastore / messages / DataExistsReplyTest.java
index 790626d7305c0e751e04a29447d09dc9113b00a0..8f33773210151cc0b0bee9e0a461dd90c650ae62 100644 (file)
@@ -8,6 +8,9 @@
 package org.opendaylight.controller.cluster.datastore.messages;
 
 import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+
 import java.io.Serializable;
 import org.apache.commons.lang.SerializationUtils;
 import org.junit.Test;
@@ -34,7 +37,7 @@ public class DataExistsReplyTest {
 
     @Test
     public void testIsSerializedType() {
-        assertEquals("isSerializedType", true, DataExistsReply.isSerializedType(new DataExistsReply()));
-        assertEquals("isSerializedType", false, DataExistsReply.isSerializedType(new Object()));
+        assertTrue("isSerializedType", DataExistsReply.isSerializedType(new DataExistsReply()));
+        assertFalse("isSerializedType", DataExistsReply.isSerializedType(new Object()));
     }
 }