### Question:
RemitSyncToDBHelper { boolean isNotFreeToDatabase(int id) { return !executor.isFreeToDatabase(id); } RemitSyncToDBHelper(@NonNull final RemitSyncExecutor.RemitAgent agent);   RemitSyncToDBHelper(@NonNull final RemitSyncExecutor executor);   }### Answer:
@Test public void isNotFreeToDatabase() { when(executor.isFreeToDatabase(1)).thenReturn(true); assertThat(helper.isNotFreeToDatabase(1)).isFalse(); when(executor.isFreeToDatabase(1)).thenReturn(false); assertThat(helper.isNotFreeToDatabase(1)).isTrue(); }