@Test
public void testApplyWithoutInMemoryTimestamp() {

  // GIVEN
  EasyMock.expect(inputMock.getCache()).andReturn(createLruCache(DEFAULT_DUMMY_MESSAGE, 100L, true));
  EasyMock.expect(inputMock.getConfigs()).andReturn(generateInputConfigs());
  EasyMock.expect(inputMock.getCacheKeyField()).andReturn(CACHE_KEY_FIELD);
  EasyMock.replay(inputMock);
  Map<String, Object> lineMap = generateLineMap();
  lineMap.remove(LogFeederConstants.IN_MEMORY_TIMESTAMP);
  // WHEN
  boolean result = underTest.apply(lineMap, inputMock);
  // THEN
  EasyMock.verify(inputMock);
  assertFalse(result);
}