### Question:
DataSourceDefExplorerScreen implements DataSourceDefExplorerScreenView.Presenter { @OnStartup public void onStartup() { this.menu = makeMenuBar(); globalDataSourceExplorer.refresh(); } DataSourceDefExplorerScreen(); @Inject  DataSourceDefExplorerScreen(DataSourceDefExplorerScreenView view,
                                       GlobalDataSourceExplorer globalDataSourceExplorer,
                                       TranslationService translationService); @PostConstruct void init(); @OnStartup void onStartup(); @WorkbenchPartTitle String getTitle(); @WorkbenchPartView IsElement getView(); @WorkbenchMenu void getMenus(final Consumer<Menus> menusConsumer); static final String SCREEN_ID; }### Answer:
@Test public void testOnStartup() { screen.init(); screen.onStartup(); verify(explorer, times(1)).refresh(); screen.getMenus(Assert::assertNotNull); }