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