public void testNegateIsUnwrap() { TreeFilter a = PathFilter.create("a/b"); TreeFilter n = NotTreeFilter.create(a); Assert.AreSame(a, n.negate()); }
public void testShouldBeRecursive_PathFilter() { TreeFilter a = PathFilter.create("a/b"); Assert.IsTrue(a.shouldBeRecursive()); TreeFilter n = NotTreeFilter.create(a); Assert.IsTrue(n.shouldBeRecursive()); }