@Test public void trigger_isDisabled_nameNotEmpty_recurrencesNotEmpty_ReturnsFalse() { Trigger trigger = new Trigger(); trigger.setName("name"); trigger.setRecurrences("recurrences"); assertFalse(trigger.isDisabled()); }
@Test public void trigger_isDisabled_nameNotEmpty_timeNotEmpty_ReturnsFalse() { Trigger trigger = new Trigger(); trigger.setName("name"); trigger.setRawTime("time"); assertFalse(trigger.isDisabled()); }
@Test public void trigger_isDisabled_nameNotEmpty_ReturnsTrue() { Trigger trigger = new Trigger(); trigger.setName("name"); assertTrue(trigger.isDisabled()); }
@Test public void trigger_isDisabled_nameEmpty_ReturnsFalse() { Trigger trigger = new Trigger(); assertFalse(trigger.isDisabled()); }