CloseTransactionChain extends VersionedExternalizableMessage implements Identifiable<LocalHistoryIdentifier> { public static boolean isSerializedType(final Object message) { return message instanceof CloseTransactionChain; } CloseTransactionChain();  CloseTransactionChain(final LocalHistoryIdentifier transactionChainId, final short version); @Override LocalHistoryIdentifier getIdentifier(); @Override void readExternal(final ObjectInput in); @Override void writeExternal(final ObjectOutput out); static CloseTransactionChain fromSerializable(final Object serializable); static boolean isSerializedType(final Object message);  }
@Test public void testIsSerializedType() { assertTrue("isSerializedType", CloseTransactionChain.isSerializedType(new CloseTransactionChain())); assertFalse("isSerializedType", CloseTransactionChain.isSerializedType(new Object())); }