@Test
public void testSetEngineName() {

    final JVoiceXmlRecognizerModeDescFactory desc1 =
        new JVoiceXmlRecognizerModeDescFactory();
    final String engineName = "Horst";
    desc1.setEngineName(engineName);
    final RecognizerModeDesc refDescriptor1 =
        new RecognizerModeDesc(engineName, null, null, null, null, null);
    Assert.assertEquals(refDescriptor1, desc1.createDescriptor());
    final JVoiceXmlRecognizerModeDescFactory desc2 =
        new JVoiceXmlRecognizerModeDescFactory();
    final RecognizerModeDesc refDescriptor2 =
        new RecognizerModeDesc(null, null, null, null, null, null);
    Assert.assertEquals(refDescriptor2, desc2.createDescriptor());
}