@Test
public void testIdentifyExternalGrammar() throws UnsupportedFormatError {

    final String grammar = "<grammar type=\"application/srgs+xml\" "
        + "root=\"r2\" src=\"grammar.grxml\" version=\"1.0\"></grammar>";
    final GrammarDocument doc = getGrammarFromString(grammar);
    final GrammarType type = central.identifyGrammar(doc,
            GrammarType.SRGS_XML);
    Assert.assertEquals(GrammarType.SRGS_XML, type);
}