@Test
public void testFieldDoesNotExist() throws IOException {

  JsonParser parser = new JsonParser();
  JsonElement input = parser.parse(getResourceString("filter_input.json"));
  GenericJsonEvent devent = new GenericJsonEvent(input.getAsJsonObject());
  InternalEvent ievent = new InternalEvent("", null, 0);
  ievent.setEventObj(devent);
  String path = "$.cookie";
  Pattern pattern = Pattern.compile("(val)");
  Boolean match = false;
  RegexFilterOperation op = new RegexFilterOperation(pattern, path, match);
  boolean filter = op.test(ievent);
  assertFalse(filter);
}