@Test
public void testProfile() {

    DMNRuntime dmnRuntime = DMNKogito.createGenericDMNRuntime(new InputStreamReader(DMNKogitoTest.class.getResourceAsStream("profile.dmn")));
    assertEquals(1, dmnRuntime.getModels().size());
    DMNModel dmnModel = dmnRuntime.getModels().get(0);
    assertEquals(0, dmnModel.getMessages(Severity.ERROR).size()); // nn any() is a Kie-extended built-in function.
}