@Test public void shouldGetRnrHasSyncErrorIsTrueWhenHaveSyncFailed() throws Exception { saveRnRFormError(); boolean hasRnrSyncError = syncErrorsRepository.hasSyncErrorOf(SyncType.RnRForm); assertTrue(hasRnrSyncError); }
@Test public void shouldGetRnrHasSyncErrorIsFalse() throws Exception { boolean hasRnrSyncError = syncErrorsRepository.hasSyncErrorOf(SyncType.RnRForm); assertFalse(hasRnrSyncError); }