X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fmessages%2FReadDataReplyTest.java;h=caf55737be8df8e294fd8eba801edf986d0078eb;hb=9bce68c4712d00951d121be68b09578bc6e09151;hp=072d8800ad02045bc1b63424815fd35631bc49e1;hpb=5464f50be733df1bbbe31cf05665d542d3b7c5e7;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/ReadDataReplyTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/ReadDataReplyTest.java index 072d8800ad..caf55737be 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/ReadDataReplyTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/ReadDataReplyTest.java @@ -8,6 +8,8 @@ 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; @@ -45,7 +47,7 @@ public class ReadDataReplyTest { @Test public void testIsSerializedType() { - assertEquals("isSerializedType", true, ReadDataReply.isSerializedType(new ReadDataReply())); - assertEquals("isSerializedType", false, ReadDataReply.isSerializedType(new Object())); + assertTrue("isSerializedType", ReadDataReply.isSerializedType(new ReadDataReply())); + assertFalse("isSerializedType", ReadDataReply.isSerializedType(new Object())); } }