@Test
public void shouldParsePathExpressionWithAbbreviatedDescendantOrSelfWithRelativeNumericLiteralPredicate() {

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