@Test
public void testConvertApplicationLastResult() throws Exception {

    final JsonExtensionNotificationDataConverter converter = new JsonExtensionNotificationDataConverter();
    final List<LastResult> list = new java.util.ArrayList<LastResult>();
    final LastResult result = new LastResult("yes", .75f, "voice", null);
    list.add(result);
    final String json = (String) converter
            .convertApplicationLastResult(list);
    Assert.assertEquals("vxml.input = {\"utterance\":\"yes\","
            + "\"confidence\":0.75,\"interpretation\":null,"
            + "\"mode\":\"voice\"}", json);
}