PerspectiveEditorPresenter extends BaseEditor<LayoutTemplate, DefaultMetadata> { @Override protected Supplier<LayoutTemplate> getContentSupplier() { return layoutEditorPlugin::getLayout; }  @OnStartup void onStartup(final ObservablePath path,
                          final PlaceRequest place); @OnFocus void onFocus(); @OnClose void onClose(); void initLayoutDragComponentGroups(); @OnMayClose boolean onMayClose(); @Override @WorkbenchPartTitleDecoration IsWidget getTitle(); @Override @WorkbenchPartTitle String getTitleText(); @WorkbenchMenu void getMenus(final Consumer<Menus> menusConsumer); @WorkbenchPartView UberView<PerspectiveEditorPresenter> getWidget(); int getCurrentModelHash(); @Override Validator getRenameValidator(); @Override Validator getCopyValidator(); void saveProperty(String key,
                             String value); String getLayoutProperty(String key); List<String> getAllTargetDivs(); static final String ID; }
@Test public void testGetContentSupplier() { final LayoutTemplate layoutTemplate = mock(LayoutTemplate.class); doReturn(layoutTemplate).when(layoutEditorPlugin).getLayout(); final Supplier<LayoutTemplate> contentSupplier = presenter.getContentSupplier(); assertEquals(layoutTemplate, contentSupplier.get()); }