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

    final String testVar = "testvalue";
    final VoiceXmlDocument document = new VoiceXmlDocument();
    final Vxml vxml = document.getVxml();
    final Form form = vxml.appendChild(Form.class);
    final Block block = form.appendChild(Block.class);
    final Prompt prompt = block.appendChild(Prompt.class);
    prompt.addText("This is a test");
    final Value value = prompt.appendChild(Value.class);
    value.setExpr(testVar);
    SsmlParsingStrategyFactory factory = new JvoiceXmlSsmlParsingStrategyFactory();
    SsmlParsingStrategy strategy = factory.getParsingStrategy(value);
    Assert.assertNotNull(strategy);
    SsmlParsingStrategy promptStrategy = factory.getParsingStrategy(prompt);
    Assert.assertNull(promptStrategy);
}