@Test
public void shouldParseSchemaAttributeTest() {

    SchemaAttributeTest result = parser.parseSchemaAttributeTest(tokenize("schema-attribute(foo)"));
    assertThat(result, is(notNullValue()));
    assertThat(result.getAttributeDeclarationName(), is(nameTest("foo")));
    result = parser.parseSchemaAttributeTest(tokenize("schema-attribute(foo:bar)"));
    assertThat(result, is(notNullValue()));
    assertThat(result.getAttributeDeclarationName(), is(nameTest("foo", "bar")));
    result = parser.parseSchemaAttributeTest(tokenize("schema-attribute(*)"));
    assertThat(result, is(notNullValue()));
    assertThat(result.getAttributeDeclarationName(), is(wildcard()));
}