@Test public void should_only_display_one_movie_which_title_contain_user_filter_string() throws Exception { // when availableMoviesScreen.userEntersFilterText("dark knig"); // then availableMoviesScreen.displaysMovies("The Dark Knight Rises"); }
@Test public void should_display_all_movies_when_not_filtered() throws Exception { availableMoviesScreen.displaysMovies(titlesOfMoviesInDatabase()); }