Search in sources :

Example 1 with FakeDataService

use of org.isisaddons.module.fakedata.dom.FakeDataService in project estatio by estatio.

the class DocFragments_for_Invoicing_Test method setUp.

@Before
public void setUp() throws Exception {
    clockService = new ClockService();
    fake = new FakeDataService();
    ReflectUtils.inject(fake, clockService);
    fake.init();
    freeMarkerService = new FreeMarkerService();
    ReflectUtils.inject(freeMarkerService, "configurationService", mockConfigurationService);
    final ImmutableMap<String, String> props = ImmutableMap.of();
    freeMarkerService.init(props);
    templateName = "Template name";
}
Also used : FakeDataService(org.isisaddons.module.fakedata.dom.FakeDataService) FreeMarkerService(org.isisaddons.module.freemarker.dom.service.FreeMarkerService) ClockService(org.apache.isis.applib.services.clock.ClockService) Before(org.junit.Before)

Aggregations

ClockService (org.apache.isis.applib.services.clock.ClockService)1 FakeDataService (org.isisaddons.module.fakedata.dom.FakeDataService)1 FreeMarkerService (org.isisaddons.module.freemarker.dom.service.FreeMarkerService)1 Before (org.junit.Before)1