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";
}
Aggregations