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

    final SpeechRecognizerProperties props = context
            .getSpeechRecognizerProperties(null);
    Assert.assertEquals(new Float(
            SpeechRecognizerProperties.DEFAULT_CONFIDENCE_LEVEL),
            new Float(props.getConfidencelevel()));
    Assert.assertEquals(new Float(
            SpeechRecognizerProperties.DEFAULT_SENSITIVITY), new Float(
            props.getSensitivity()));
    Assert.assertEquals(new Float(
            SpeechRecognizerProperties.DEFAULT_SPEED_VS_ACCURACY),
            new Float(props.getSpeedvsaccuracy()));
    Assert.assertEquals(0, props.getCompletetimeoutAsMsec());
    Assert.assertEquals(0, props.getIncompletetimeoutAsMsec());
    Assert.assertEquals(0, props.getMaxspeechtimeoutAsMsec());
}