@Test
public void shouldParsePredicatesWithAttributeLikeStringLiteral() {

    assertThat(parser.parsePredicates(tokenize("[jcr:like(@jcr:title,'%something%')]")),
               is(predicates(functionCall(nameTest("jcr", "like"),
                                          attributeNameTest(nameTest("jcr", "title")),
                                          literal("%something%")))));
}