### Question:
DiagramEditorExplorerScreen { @WorkbenchPartView public IsWidget getWidget() { return view; } protected  DiagramEditorExplorerScreen(); @Inject  DiagramEditorExplorerScreen(final SessionManager clientSessionManager,
                                       final @Any ManagedInstance<TreeExplorer> treeExplorers,
                                       final Event<ChangeTitleWidgetEvent> changeTitleNotificationEvent,
                                       final @Any @Default ManagedInstance<SessionDiagramPreview<AbstractSession>> sessionPreviews,
                                       final ErrorPopupPresenter errorPopupPresenter,
                                       final View view,
                                       final Event<ScreenPreMaximizedStateEvent> screenStateEvent); @OnStartup void onStartup(final PlaceRequest placeRequest); @OnOpen void onOpen(); @OnClose void onClose(); @WorkbenchPartTitle String getTitle(); @WorkbenchPartView IsWidget getWidget(); @WorkbenchContextId String getMyContextRef(); void show(final ClientSession session); void close(); static final String SCREEN_ID; static final String TITLE; static final int PREVIEW_WIDTH; static final int PREVIEW_HEIGHT; }### Answer:
@Test public void testView() { assertEquals(view, tested.getWidget()); }