Add get person latest method

This commit is contained in:
Omertron
2012-12-19 21:46:37 +00:00
parent af0b657586
commit 44a60ba786
2 changed files with 95 additions and 70 deletions
@@ -548,4 +548,14 @@ public class TheMovieDbApiTest {
assertNotNull("No results found", results);
assertTrue("No results found", results.size() > 0);
}
@Test
public void testGetPersonLatest() throws Exception {
logger.info("getPersonLatest");
Person result = tmdb.getPersonLatest();
assertNotNull("No results found", result);
assertTrue("No results found", StringUtils.isNotBlank(result.getName()));
}
}