assertEquals(message.getType(), ds.getType());
assertNotNull(ds.getSenderChanges());
}
public void testConstructorInvalid() {
ObjectContext source = new MockObjectContext();
new SyncMessage(source, DataChannel.FLUSH_NOCASCADE_SYNC, new CompoundDiff());
new SyncMessage(source, DataChannel.FLUSH_CASCADE_SYNC, new CompoundDiff());
new SyncMessage(null, DataChannel.ROLLBACK_CASCADE_SYNC, new CompoundDiff());
int bogusType = 45678;