/** * Test of postTVRating method, of class TmdbTV. * * @throws com.omertron.themoviedbapi.MovieDbException */ @Test public void testPostTVRating() throws MovieDbException { LOG.info("postTVRating"); for (TestID test : TV_IDS) { int rating = TestSuite.randomRating(); StatusCode result = instance.postTVRating(test.getTmdb(), rating, getSessionId(), null); assertEquals("failed to post rating", 12, result.getCode()); } }