public class CommandSerializationTest {
@Test
public void updateCommandTest() throws Exception {
DisconnectedFactHandle discFactHandle = new DisconnectedFactHandle(2, 3, 4, 5l, "entry-point-id", "str-obj", true);
DisconnectedFactHandle copyDiscFactHandle = roundTrip(discFactHandle, DisconnectedFactHandle.class);
verifyDisconnectedFactHandle(discFactHandle, copyDiscFactHandle);
UpdateCommand cmd = new UpdateCommand(discFactHandle, "new-str-object");
UpdateCommand copyCmd = roundTrip(cmd, UpdateCommand.class);