### Question:
ItemSyncState implements Serializable { public static Builder builder() { return new Builder(); } private  ItemSyncState(Date syncDate, boolean syncFiltered, SyncKey syncKey, int id); static Builder builder(); Date getSyncDate(); boolean isSyncFiltered(); SyncKey getSyncKey(); int getId(); boolean isInitial(); Date getFilteredSyncDate(FilterType filterType); @Override final int hashCode(); @Override final boolean equals(Object object); @Override String toString();  }### Answer:
@Test(expected=IllegalArgumentException.class) public void testPreconditionOnSyncKey() { ItemSyncState.builder().build(); }
@Test(expected=IllegalArgumentException.class) public void testPreconditionOnSyncDate() { ItemSyncState.builder() .syncKey(new SyncKey("123")) .build(); }