### Question:
LicenseHandler implements LicenseService.Iface { @Override public List<License> getLicenseSummary() throws TException { return handler.getLicenseSummary(); } LicenseHandler(); @Override List<License> getLicenseSummary(); @Override List<License> getLicenseSummaryForExport(); @Override List<License> getDetailedLicenseSummaryForExport(String organisation); @Override List<License> getDetailedLicenseSummary(String organisation, List<String> identifiers); @Override List<LicenseType> addLicenseTypes(List<LicenseType> licenseTypes, User user); @Override List<License> addLicenses(List<License> licenses, User user); @Override List<License> addOrOverwriteLicenses(List<License> licenses, User user); @Override List<Obligation> addListOfObligations(List<Obligation> ListOfObligations, User user); @Override List<LicenseType> getLicenseTypes(); @Override List<License> getLicenses(); @Override List<Obligation> getObligations(); @Override List<LicenseType> getLicenseTypesByIds(List<String> ids); @Override List<Obligation> getObligationsByIds(List<String> ids); @Override License getByID(String id, String organisation); @Override License getByIDWithOwnModerationRequests(String id, String organisation, User user); @Override List<License> getByIds(Set<String> ids, String organisation); @Override LicenseType getLicenseTypeById(String id); @Override Obligation getObligationsById(String id); @Override String addObligations(Obligation obligs, User user); @Override RequestStatus addObligationsToLicense(Obligation obligs, String licenseId, User user); @Override RequestStatus updateLicense(License license, User user, User requestingUser); @Override RequestStatus updateLicenseFromModerationRequest(License licenseAdditions,
                                                            License licenseDeletions,
                                                            User user,
                                                            User requestingUser); @Override RequestStatus updateWhitelist(String licenceId, Set<String> whitelist, User user); @Override RequestStatus deleteLicense(String id, User user); @Override List<CustomProperties> getCustomProperties(String documentType); @Override RequestStatus updateCustomProperties(CustomProperties customProperties, User user); @Override RequestSummary deleteAllLicenseInformation(User user); @Override RequestSummary importAllSpdxLicenses(User user); @Override RequestStatus deleteObligations(String id, User user);  }### Answer:
@Test public void testGetLicenseSummary() throws Exception { List<License> summary = handler.getLicenseSummary(); assertEquals(summary.size(), licenses.size()); for (License license : summary) { assertNotNull(license.id); assertNotNull(license.fullname); assertFalse(license.isSetObligationDatabaseIds()); assertFalse(license.isSetObligations()); assertFalse(license.isSetReviewdate()); } }