use of com.enonic.xp.portal.macro.MacroProcessorFactory in project xp by enonic.
the class MacroInstructionTest method setUp.
@BeforeEach
public void setUp() {
macroDescriptorService = Mockito.mock(MacroDescriptorService.class);
macroProcessorFactory = Mockito.mock(MacroProcessorFactory.class);
macroInstruction = new MacroInstruction();
macroInstruction.setMacroDescriptorService(macroDescriptorService);
macroInstruction.setMacroProcessorFactory(macroProcessorFactory);
portalRequest = new PortalRequest();
Site site = createSite("site-id", "site-name", "myapplication:content-type");
portalRequest.setSite(site);
portalRequest.setContent(site);
}
Aggregations