@Test
public void testClassIriExpression() throws Exception {

    ExtractedOntology ont = getRequiredOrmFactory(ExtractedOntology.class).createNew(VALUE_FACTORY.createIRI(ONT_URI));
    ClassIriExpressionContext context = new DefaultClassIriExpressionContext(ont, "test-ontology",
            "simple-test-ontology-for-iri-expressions");
    String expression = "getOntologyIri().concat('#').concat(getName()).concat('/').concat(getComment())";
    IRI result = processor.processExpression(expression, context);
    Assert.assertEquals(ONT_URI + "#test-ontology/simple-test-ontology-for-iri-expressions",
            result.stringValue());
}