@@ -0,0 +1,1402 @@
+package replicant;%0A%0Aimport org.testng.annotations.Test;%0Aimport static org.mockito.Mockito.*;%0Aimport static org.testng.Assert.*;%0A%0Apublic class EntityChangeTest%0A  extends AbstractReplicantTest%0A%7B%0A  @SuppressWarnings( %22ResultOfMethodCallIgnored%22 )%0A  @Test%0A  public void construct_removeMessage()%0A  %7B%0A    final int id = 1;%0A    final int type = 2;%0A    final EntityChannel%5B%5D channels = %7B EntityChannel.create( 0 ), EntityChannel.create( 3, 4 ) %7D;%0A    final EntityChange change = EntityChange.create( id, type, channels );%0A%0A    assertEquals( change.getId(), 1 );%0A    assertEquals( change.getTypeId(), 2 );%0A    assertEquals( change.getChannels(), channels );%0A    assertEquals( change.isRemove(), true );%0A    assertEquals( change.isUpdate(), false );%0A    assertThrows( change::getData );%0A  %7D%0A%0A  @Test%0A  public void construct_updateMessage()%0A  %7B%0A    final int id = 1;%0A    final int type = 2;%0A    final EntityChannel%5B%5D channels = %7B EntityChannel.create( 0 ), EntityChannel.create( 3, 4 ) %7D;%0A    final EntityChangeData data = mock( EntityChangeData.class );%0A    final EntityChange change = EntityChange.create( id, type, channels, data );%0A%0A    assertEquals( change.getId(), 1 );%0A    assertEquals( change.getTypeId(), 2 );%0A    assertEquals( change.getChannels(), channels );%0A    assertEquals( change.isRemove(), false );%0A    assertEquals( change.isUpdate(), true );%0A    assertEquals( change.getData(), data );%0A  %7D%0A%7D%0A

Add test for EntityChange