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

    final SmlInterpretationExtractor extractor = 
            readSml("sml-compound.xml");
    final KinectRecognitionResult result =
            new KinectRecognitionResult(extractor);
    final DataModel model = Mockito.mock(DataModel.class);
    Assert.assertNotNull(result.getSemanticInterpretation(model));
    final String json = "hello";//ScriptingEngine.toJSON(
              (ScriptableObject) result.getSemanticInterpretation());
    Assert.assertEquals(
            "{\"order\":{\"topping\":\"salami\",\"size\":\"small\"}}",
            json);
}