use of org.qi4j.sample.dcicargo.sample_b.data.factory.RouteSpecificationFactoryService in project qi4j-sdk by Qi4j.
the class TestApplication method prepareTest.
@Before
public void prepareTest() throws Exception {
logger.info(name.getMethodName());
Usecase usecase = UsecaseBuilder.newUsecase("Usecase:" + name);
UnitOfWork uow = module.newUnitOfWork(usecase);
populateTestData();
ServiceReference<RouteSpecificationFactoryService> routeSpecFactoryServiceRef = module.findService(RouteSpecificationFactoryService.class);
routeSpecFactory = routeSpecFactoryServiceRef.get();
// Separate test suites in console output
System.out.println();
}
Aggregations