### Question:
MovieListPresenter { public void add() { Movie movie = new Movie(movieView.getNewTitle()); movies.save(movie); moviesList.add(movie); movieView.showMovies(moviesList); } MovieListPresenter(MovieView movieView, MovieRepository movies); void add(); void shown();  }### Answer:
@Test public void addAMovie() { when(movieView.getNewTitle()).thenReturn(STAR_WARS); movieListPresenter.add(); verify(movieView).showMovies(list(movieTitled(STAR_WARS))); }