### Question:
BundleFilterNot implements BundleFilter { @Override public boolean filter(Bundle bundle) { return field.getValue(bundle) == null; } BundleFilterNot(@JsonProperty("field") AutoField field); @Override boolean filter(Bundle bundle);  }### Answer:
@Test public void fieldTest() { BundleFilterNot bff = new BundleFilterNot(new CachingField("foo")); MapBundle bundle = MapBundle.createBundle(new String[]{"dog", "food"}); assertTrue(bff.filter(bundle)); }
@Test public void fieldTest_False() { BundleFilterNot bff = new BundleFilterNot(new CachingField("foo")); MapBundle bundle = MapBundle.createBundle(new String[]{"dog", "food", "foo", "bar"}); assertFalse(bff.filter(bundle)); }