@Test
public void isToBeTriggeredOnChangePositive() {

    TriggerStrategy strategy = onChange(booleanChannel("val"));
    assertTrue(strategy.getChannelIdentifiers().contains("val"));
    strategy.isToBeTriggered(falseValues);
    boolean result = strategy.isToBeTriggered(trueValues);
    assertTrue(result);
    strategy.isToBeTriggered(trueValues);
    boolean result2 = strategy.isToBeTriggered(falseValues);
    assertTrue(result2);
    strategy = onChange(getSupplier());
    result = strategy.isToBeTriggered(nullValues);
    assertFalse(result);
    assertTrue(strategy.getChannelIdentifiers().contains("test"));
}