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%2FAbortTransactionReplyTest.java;h=49d33921636f204782946772c268b102d2629d69;hb=e84f63ee098fff5b02cbce1281ca0d1208f966fa;hp=36c2255466360af47c931fb3ca5b99f6c9a35db0;hpb=24c074a4b32ac97980a652b78824b7c2f97ffb78;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/AbortTransactionReplyTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/AbortTransactionReplyTest.java index 36c2255466..49d3392163 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/AbortTransactionReplyTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/AbortTransactionReplyTest.java @@ -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; @@ -33,7 +36,7 @@ public class AbortTransactionReplyTest { @Test public void testIsSerializedType() { - assertEquals("isSerializedType", true, AbortTransactionReply.isSerializedType(new AbortTransactionReply())); - assertEquals("isSerializedType", false, AbortTransactionReply.isSerializedType(new Object())); + assertTrue("isSerializedType", AbortTransactionReply.isSerializedType(new AbortTransactionReply())); + assertFalse("isSerializedType", AbortTransactionReply.isSerializedType(new Object())); } }