@Test
public void testJSONFilterCode_invalidJson() throws Exception {

  LOG.info("testJSONFilterCode_invalidJson()");
  init(new HashMap<String, Object>());
  String inputStr="invalid json";
  try{
  filterJson.apply(inputStr,new InputMarker(null, null, 0));
  fail("Expected LogfeederException was not occured");
  }catch(LogfeederException logfeederException){
    assertEquals("Json parsing failed for inputstr = "+inputStr, logfeederException.getLocalizedMessage());
  }
}