@Test(expected = BadFetchError.class)
public void testCreateGrammarIllegalParamters()
    throws Exception, BadFetchError {

    final GrammarCreator creator = new DigitsGrammarCreator();
    final URI dtmfUri = new URI(
            "builtin:dtmf/digits?minlength=4;maxlength=2");
    creator.createGrammar(dtmfUri);
}