@Test
public void shouldParseSchemaElementTest() {

    SchemaElementTest result = parser.parseSchemaElementTest(tokenize("schema-element(foo)"));
    assertThat(result, is(notNullValue()));
    assertThat(result.getElementDeclarationName(), is(nameTest("foo")));
    result = parser.parseSchemaElementTest(tokenize("schema-element(foo:bar)"));
    assertThat(result, is(notNullValue()));
    assertThat(result.getElementDeclarationName(), is(nameTest("foo", "bar")));
    result = parser.parseSchemaElementTest(tokenize("schema-element(*)"));
    assertThat(result, is(notNullValue()));
    assertThat(result.getElementDeclarationName(), is(wildcard()));
}