### Question:
KieTextEditorPresenter extends KieEditor<String> { @Override protected Supplier<String> getContentSupplier() { return view::getContent; } @Inject  KieTextEditorPresenter(final KieTextEditorView baseView); @PostConstruct void init(); void onStartup(final ObservablePath path,
                          final PlaceRequest place); void onAfterViewLoaded(); @WorkbenchMenu void getMenus(final Consumer<Menus> menusConsumer); @WorkbenchPartTitle String getTitleText(); @WorkbenchPartTitleDecoration IsWidget getTitle(); @OnClose @Override void onClose(); @OnMayClose boolean mayClose(); AceEditorMode getAceEditorMode();  }### Answer:
@Test public void testGetContentSupplier() { final String content = "content"; doReturn(content).when(view).getContent(); final Supplier<String> contentSupplier = presenter.getContentSupplier(); assertEquals(content, contentSupplier.get()); }