@Test
public void testApplyWithFilterOutByDedupInterval() {

  // GIVEN
  EasyMock.expect(inputMock.getCache()).andReturn(createLruCache(DEFAULT_DUMMY_MESSAGE, 100L, false));
  EasyMock.expect(inputMock.getConfigs()).andReturn(generateInputConfigs());
  EasyMock.expect(inputMock.getCacheKeyField()).andReturn(CACHE_KEY_FIELD);
  EasyMock.replay(inputMock);
  // WHEN
  boolean result = underTest.apply(generateLineMap(), inputMock);
  // THEN
  EasyMock.verify(inputMock);
  assertTrue(result);
}