CommitTransactionReply extends VersionedExternalizableMessage { public static boolean isSerializedType(Object message) { return message instanceof CommitTransactionReply; } CommitTransactionReply(); private  CommitTransactionReply(short version); static CommitTransactionReply instance(short version); static boolean isSerializedType(Object message); static final CommitTransactionReply INSTANCE; }
@Test public void testIsSerializedType() { assertTrue("isSerializedType", CommitTransactionReply.isSerializedType(new CommitTransactionReply())); assertFalse("isSerializedType", CommitTransactionReply.isSerializedType(new Object())); }