### Question:
PopulatedLibraryScreen { Command selectCommand(final WorkspaceProject project) { return () -> libraryPlaces.goToProject(project); } @Inject  PopulatedLibraryScreen(final View view,
                                  final LibraryPlaces libraryPlaces,
                                  final Caller<LibraryService> libraryService,
                                  final ProjectController projectController,
                                  final WorkspaceProjectContext projectContext,
                                  final ManagedInstance<TileWidget<WorkspaceProject>> tileWidgets,
                                  final AddProjectButtonPresenter addProjectButtonPresenter,
                                  final Event<ProjectCountUpdate> projectCountUpdateEvent); @PostConstruct void setup(); List<TileWidget<WorkspaceProject>> filterProjects(final String filter); boolean userCanCreateProjects(); int getProjectsCount(); View getView(); void onNewProjectEvent(@Observes NewProjectEvent e); void onRepositoryRemovedEvent(@Observes RepositoryRemovedEvent e); void onAssetListUpdated(@Observes @Routed ProjectAssetListUpdated event);  }### Answer:
@Test public void selectCommandTest() { libraryScreen.selectCommand(project1).execute(); verify(libraryPlaces).goToProject(any(WorkspaceProject.class)); }