CommitTransaction extends AbstractThreePhaseCommitMessage { public static boolean isSerializedType(Object message) { return message instanceof CommitTransaction; } CommitTransaction();  CommitTransaction(TransactionIdentifier transactionID, final short version); static CommitTransaction fromSerializable(Object serializable); static boolean isSerializedType(Object message);  }
@Test public void testIsSerializedType() { assertTrue("isSerializedType", CommitTransaction.isSerializedType(new CommitTransaction())); assertFalse("isSerializedType", CommitTransaction.isSerializedType(new Object())); }