use of org.xwiki.configuration.internal.MemoryConfigurationSource in project xwiki-platform by xwiki.
the class TemplateManagerTest method before.
@Before
public void before() throws Exception {
when(this.velocityManagerMock.getVelocityContext()).thenReturn(new VelocityContext());
MemoryConfigurationSource configuration = this.mocker.registerMemoryConfigurationSource();
this.mocker.registerComponent(MockConfigurationSource.getDescriptor("all"), configuration);
this.mocker.registerMockComponent(ContextualAuthorizationManager.class);
}
Aggregations