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%2FCloseTransactionChainTest.java;fp=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fmessages%2FCloseTransactionChainTest.java;h=6f857112a4f5d8bf8834b79d66e3636c4f98b625;hb=9bce68c4712d00951d121be68b09578bc6e09151;hp=b13fa95d052e81c26575b417dbeb17f1b901f6eb;hpb=2c566430ce1f97da8236f023d531313474ea4d6a;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/CloseTransactionChainTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/CloseTransactionChainTest.java index b13fa95d05..6f857112a4 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/CloseTransactionChainTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/CloseTransactionChainTest.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; @@ -37,7 +39,7 @@ public class CloseTransactionChainTest extends AbstractTest { @Test public void testIsSerializedType() { - assertEquals("isSerializedType", true, CloseTransactionChain.isSerializedType(new CloseTransactionChain())); - assertEquals("isSerializedType", false, CloseTransactionChain.isSerializedType(new Object())); + assertTrue("isSerializedType", CloseTransactionChain.isSerializedType(new CloseTransactionChain())); + assertFalse("isSerializedType", CloseTransactionChain.isSerializedType(new Object())); } }