use of org.kie.kogito.decision.DecisionModelResource in project kogito-runtimes by kiegroup.
the class QuarkusModelEventEmitterTest method makeModel.
private DecisionModelResource makeModel() {
final DecisionModelResource model = mock(DecisionModelResource.class);
when(model.getGav()).thenReturn(new KogitoGAV("groupId", "artifactId", "version"));
when(model.getModelName()).thenReturn("name");
when(model.getNamespace()).thenReturn("namespace");
when(model.getModelMetadata()).thenReturn(new DecisionModelMetadata("http://www.omg.org/spec/DMN/20151101/dmn.xsd"));
when(model.get()).thenReturn("model");
return model;
}
Aggregations