@Test
public void testGetLicenseSummary() throws Exception {

    List<License> summary = handler.getLicenseSummary();
    assertEquals(summary.size(), licenses.size());
    for (License license : summary) {
        // Only those two fields should be present
        assertNotNull(license.id);
        assertNotNull(license.fullname);
        // The rest should not be set
        assertFalse(license.isSetTodoDatabaseIds());
        assertFalse(license.isSetTodos());
        assertFalse(license.isSetReviewdate());
    }
}