@Test
public void testGetInputStreamParameters()
    throws Exception, JVoiceXMLEvent {

    final URI dtmfUri = new URI("builtin:dtmf/boolean?y=7;n=9");
    final InputStream input = strategy.getInputStream(null, dtmfUri, null,
            0, null);
    final InputSource source = new InputSource(input);
    final SrgsXmlDocument dtmfDocument = new SrgsXmlDocument(source);
    input.close();
    final Grammar dtmfGrammar = dtmfDocument.getGrammar();
    Assert.assertEquals(ModeType.DTMF, dtmfGrammar.getMode());
}