@Test public void shouldParseCommentTest() { assertThat(parser.parseCommentTest(tokenize("comment()")), is(instanceOf(CommentTest.class))); }
protected CommentTest parseCommentTest( TokenStream tokens ) { if (tokens.canConsume("comment", "(", ")")) { return new CommentTest(); } return null; }
XPathParser { protected CommentTest parseCommentTest( TokenStream tokens ) { if (tokens.canConsume("comment", "(", ")")) { return new CommentTest(); } return null; } }
XPathParser { protected CommentTest parseCommentTest( TokenStream tokens ) { if (tokens.canConsume("comment", "(", ")")) { return new CommentTest(); } return null; } XPathParser( TypeSystem context ); }
XPathParser { protected CommentTest parseCommentTest( TokenStream tokens ) { if (tokens.canConsume("comment", "(", ")")) { return new CommentTest(); } return null; } XPathParser( TypeSystem context ); Component parseXPath( String xpath ); }
XPathParser { protected CommentTest parseCommentTest( TokenStream tokens ) { if (tokens.canConsume("comment", "(", ")")) { return new CommentTest(); } return null; } XPathParser( TypeSystem context ); Component parseXPath( String xpath );  }