use of org.obeonetwork.dsl.graal.m2doc.services.UseCaseServices in project InformationSystem by ObeoNetwork.
the class UseCaseServicesTest method verifyAllDomainClasses.
private void verifyAllDomainClasses(UseCase uc, String[] expectedClassesNames) {
UseCaseServices service = new UseCaseServices();
List<DomainClass> allDomainClasses = service.allDomainClasses(uc);
Stream<String> domainClassesNames = allDomainClasses.stream().map((domainClass) -> service.fullQualifiedName(domainClass));
assertArrayEquals("", expectedClassesNames, domainClassesNames.toArray());
}
Aggregations