X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fmessages%2FCreateTransactionReplyTest.java;h=a44e71a1654993114ceaa3ace998e9d019a3daa9;hp=4323a37aee2c70a6b6e4692996c18e7e52d76cea;hb=9bce68c4712d00951d121be68b09578bc6e09151;hpb=2c566430ce1f97da8236f023d531313474ea4d6a diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/CreateTransactionReplyTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/CreateTransactionReplyTest.java index 4323a37aee..a44e71a165 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/CreateTransactionReplyTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/CreateTransactionReplyTest.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; @@ -39,7 +41,7 @@ public class CreateTransactionReplyTest extends AbstractTest { @Test public void testIsSerializedType() { - assertEquals("isSerializedType", true, CreateTransactionReply.isSerializedType(new CreateTransactionReply())); - assertEquals("isSerializedType", false, CreateTransactionReply.isSerializedType(new Object())); + assertTrue("isSerializedType", CreateTransactionReply.isSerializedType(new CreateTransactionReply())); + assertFalse("isSerializedType", CreateTransactionReply.isSerializedType(new Object())); } }