@Override @Test public void checkAnExtendedWidget() { assertTrue(rottenTomatoes.getExtendeddMovieCount() >= 1); Movie movie = rottenTomatoes.getAnExtendedMovie(0); assertTrue(!StringUtils.isBlank(movie.title())); assertTrue(!StringUtils.isBlank(movie.score())); assertNotNull(movie.getPoster()); movie.goToReview(); rottenTomatoes.checkExtendedReview(); }
@Test @Override public void checkACommonWidget() { assertTrue(rottenTomatoes.getSimpleMovieCount() >= 1); Movie movie = rottenTomatoes.getASimpleMovie(0); assertTrue(!StringUtils.isBlank(movie.title())); assertTrue(!StringUtils.isBlank(movie.score())); assertNotNull(movie.getPoster()); movie.goToReview(); rottenTomatoes.checkSimpleReview(); }