@Test public void testOnClose() { tested.onClose(); verify(tested).closePreview(); }
@OnClose @SuppressWarnings("unused") public void onClose() { closePreview(); }
PreviewDiagramScreen { @OnClose @SuppressWarnings("unused") public void onClose() { closePreview(); } }
PreviewDiagramScreen { @OnClose @SuppressWarnings("unused") public void onClose() { closePreview(); } protected  PreviewDiagramScreen(); @Inject  PreviewDiagramScreen(final SessionManager clientSessionManager,
                                final @Any @DMNEditor ManagedInstance<SessionDiagramPreview<AbstractSession>> sessionPreviews,
                                final View view,
                                final DMNDiagramsSession session); }
PreviewDiagramScreen { @OnClose @SuppressWarnings("unused") public void onClose() { closePreview(); } protected  PreviewDiagramScreen(); @Inject  PreviewDiagramScreen(final SessionManager clientSessionManager,
                                final @Any @DMNEditor ManagedInstance<SessionDiagramPreview<AbstractSession>> sessionPreviews,
                                final View view,
                                final DMNDiagramsSession session); @OnStartup @SuppressWarnings("unused") void onStartup(final PlaceRequest placeRequest); @OnOpen @SuppressWarnings("unused") void onOpen(); @OnClose @SuppressWarnings("unused") void onClose(); @WorkbenchPartTitle @SuppressWarnings("unused") String getTitle(); @WorkbenchPartView @SuppressWarnings("unused") IsWidget getWidget(); @WorkbenchContextId @SuppressWarnings("unused") String getMyContextRef(); }
PreviewDiagramScreen { @OnClose @SuppressWarnings("unused") public void onClose() { closePreview(); } protected  PreviewDiagramScreen(); @Inject  PreviewDiagramScreen(final SessionManager clientSessionManager,
                                final @Any @DMNEditor ManagedInstance<SessionDiagramPreview<AbstractSession>> sessionPreviews,
                                final View view,
                                final DMNDiagramsSession session); @OnStartup @SuppressWarnings("unused") void onStartup(final PlaceRequest placeRequest); @OnOpen @SuppressWarnings("unused") void onOpen(); @OnClose @SuppressWarnings("unused") void onClose(); @WorkbenchPartTitle @SuppressWarnings("unused") String getTitle(); @WorkbenchPartView @SuppressWarnings("unused") IsWidget getWidget(); @WorkbenchContextId @SuppressWarnings("unused") String getMyContextRef(); static final String SCREEN_ID; }