### Question:
EmptyLibraryScreen { @PostConstruct public void setup() { view.init(this); if (userCanCreateProjects()) { view.addAction(addProjectButtonPresenter.getView().getElement()); } } @Inject  EmptyLibraryScreen(final View view,
                              final AddProjectButtonPresenter addProjectButtonPresenter,
                              final ProjectController projectController,
                              final LibraryPlaces libraryPlaces); @PostConstruct void setup(); void trySamples(); void importProject(); View getView();  }### Answer:
@Test public void setupTest() { emptyLibraryScreen.setup(); verify(view).init(emptyLibraryScreen); verify(addProjectButtonPresenter).getView(); verify(view).addAction(any()); }