.getCachedSnapshot(altArtist.getObjectId());
assertEquals(newName, freshSnapshot.get("ARTIST_NAME"));
assertEquals(newDate, freshSnapshot.get("DATE_OF_BIRTH"));
// check peer artist
ThreadedTestHelper helper = new ThreadedTestHelper() {
@Override
protected void assertResult() throws Exception {
assertEquals(newAltName, altArtist.getArtistName());
assertEquals(newDate, altArtist.getDateOfBirth());
assertEquals(PersistenceState.MODIFIED, altArtist.getPersistenceState());
}
};
helper.assertWithTimeout(3000);
}