CreateTransaction extends VersionedExternalizableMessage { public static boolean isSerializedType(final Object message) { return message instanceof CreateTransaction; } CreateTransaction();  CreateTransaction(final TransactionIdentifier transactionId, final int transactionType,
            final short version); TransactionIdentifier getTransactionId(); int getTransactionType(); @Override void readExternal(final ObjectInput in); @Override void writeExternal(final ObjectOutput out); @Override String toString(); static CreateTransaction fromSerializable(final Object message); static boolean isSerializedType(final Object message);  }
@Test public void testIsSerializedType() { assertTrue("isSerializedType", CreateTransaction.isSerializedType(new CreateTransaction())); assertFalse("isSerializedType", CreateTransaction.isSerializedType(new Object())); }