Include { Directive getDirective() { return directive; } Include(String pattern); boolean match(String relativePath); String getPattern(); @Override String toString(); Matcher createMatcher(); boolean match(String nodeName, int depth); boolean matchAny(int depth); int size();  }
@Test public void directive() throws Exception{ Include i0 = new Include("x/*"); assertEquals(Include.Directive.NONE, i0.getDirective()); Include i = new Include("x/**"); assertEquals(Include.Directive.ALL, i.getDirective()); }