@Test
public void shouldParseWildcard() {

    assertThat(parser.parseWildcard(tokenize("*")), is(wildcard()));
    assertThat(parser.parseWildcard(tokenize("*:*")), is(wildcard()));
    assertThat(parser.parseWildcard(tokenize("*:name")), is(nameTest(null, "name")));
    assertThat(parser.parseWildcard(tokenize("name:*")), is(nameTest("name", null)));
}