use of com.enonic.xp.region.LayoutDescriptorService in project xp by enonic.
the class ContentDataSerializerTest method createContentDataSerializer.
private ContentDataSerializer createContentDataSerializer() {
final PageDescriptorService pageDescriptorService = Mockito.mock(PageDescriptorService.class);
final PartDescriptorService partDescriptorService = Mockito.mock(PartDescriptorService.class);
final LayoutDescriptorService layoutDescriptorService = Mockito.mock(LayoutDescriptorService.class);
return ContentDataSerializer.create().partDescriptorService(partDescriptorService).pageDescriptorService(pageDescriptorService).layoutDescriptorService(layoutDescriptorService).build();
}
Aggregations