X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fmessages%2FReadDataTest.java;h=5e06a60217b73361571d8756990671db6c89fe86;hb=9905bf0575ff196a531eb114e89b1bdb7226bc6c;hp=cf574ccbd2c95ea494cedc7656eedc7b11a8beb9;hpb=5464f50be733df1bbbe31cf05665d542d3b7c5e7;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/ReadDataTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/ReadDataTest.java index cf574ccbd2..5e06a60217 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/ReadDataTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/ReadDataTest.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; @@ -36,7 +38,7 @@ public class ReadDataTest { @Test public void testIsSerializedType() { - assertEquals("isSerializedType", true, ReadData.isSerializedType(new ReadData())); - assertEquals("isSerializedType", false, ReadData.isSerializedType(new Object())); + assertTrue("isSerializedType", ReadData.isSerializedType(new ReadData())); + assertFalse("isSerializedType", ReadData.isSerializedType(new Object())); } }