@Test
public void testGetSemanticInterpretation() throws Exception, SemanticError {

    final String lf = System.getProperty("line.separator");
    final String grammar = "#JSGF V1.0;" + lf + "grammar test;" + lf
            + "public <test> = a{student.name='horst'}|b|c;";
    final StringReader reader = new StringReader(grammar);
    final RuleGrammar rule = recognizer.loadJSGF(reader);
    rule.setEnabled(true);
      final BaseResult result = new BaseResult(rule, "a");
      result.setResultState(BaseResult.ACCEPTED);

        final DataModel model = Mockito.mock(DataModel.class);
        final Jsapi10RecognitionResult res = new Jsapi10RecognitionResult(
                result);
        res.getSemanticInterpretation(model);
      Mockito.verify(model).updateVariable("out.student.name", "horst");
    // Assert.assertEquals("horst", context.evaluateString(scope,
    // "out.student.name", "expr", 1, null));
}