@Test
public void testValidHeader() {

    final GrammarDocument doc = GrammarUtil.getGrammarFromString(
            "<?xml version=\"1.0\" ?>"
            + "<grammar version=\"1.0\" "
            + "xmlns=\"http://www.w3.org/2001/06/grammar\" "
            + "></grammar>");
    final GrammarType type = identifier.identify(doc);
    Assert.assertEquals(GrammarType.SRGS_XML, type);
}