@Test
public void shouldParsePathExpressionWithAbbreviatedDescendantOrSelfWithRelativeNamePathPredicate() {

    assertThat(parser.parsePathExpr(tokenize("//.[c]")),
               is(pathExpr(descendantOrSelf(), filterStep(contextItem(), nameTest("c")))));
}