@Test public void testReporterNotDisabledPredicateAsk() { sut = new ReporterNotDisabledPredicate(settings); when(settings.getAction()).thenReturn(SendAction.ASK); assertTrue(sut.apply(status)); }
@Test public void testReporterNotDisabledPredicateIgnore() { sut = new ReporterNotDisabledPredicate(settings); when(settings.getAction()).thenReturn(SendAction.IGNORE); assertFalse(sut.apply(status)); }