PropertyFilter pf = new NullPropertyFilter();
Assert.assertTrue(pf.apply(null, null, null));
JSONArray jsa = new JSONArray();
Assert.assertTrue(pf.apply(null, null, jsa));
jsa.add("element");
Assert.assertFalse(pf.apply(null, null, jsa));
Assert.assertTrue(pf.apply(null, null, Lists.newArrayList()));
Assert.assertFalse(pf.apply(null, null, Lists.newArrayList("element", "element")));
Assert.assertTrue(pf.apply(null, null, new Object[] {}));
Assert.assertFalse(pf.apply(null, null, new Object[] { "element" }));
}