MemoryTriggerStrategy implements TriggerStrategy { @Override public Set<String> getChannelIdentifiers() { return supplier.getChannelIdentifiers(); } MemoryTriggerStrategy(Supplier<T> supplier, int bufferSize, T initialValue); @Override boolean isToBeTriggered(MRecord values); abstract boolean isToBeTriggered(T decisionBase); @Override Set<String> getChannelIdentifiers();  }
@Test public void getChannelIdentifiers() { assertTrue(strategy.getChannelIdentifiers().contains("test")); assertTrue(clone.getChannelIdentifiers().contains("test")); }