/** * Test of getTVContentRatings method, of class TmdbTV. * * @throws com.omertron.themoviedbapi.MovieDbException */ @Test public void testGetTVContentRatings() throws MovieDbException { LOG.info("getTVContentRatings"); for (TestID test : TV_IDS) { ResultList<ContentRating> result = instance.getTVContentRatings(test.getTmdb()); TestSuite.test(result, "TV Content Rating"); assertTrue("No language", StringUtils.isNotBlank(result.getResults().get(0).getCountry())); assertTrue("No rating", StringUtils.isNotBlank(result.getResults().get(0).getRating())); } }