/** Find default license. */ @Test public void findDefaultLicense() { final String licenseDefId = properties.getDefaultLicense(); final License lic = finder.findByShortName(licenseDefId); assertNotNull(lic); assertEquals(licenseDef.getShortName(), lic.getShortName()); assertEquals(licenseDef.getLongName(), lic.getLongName()); }
/** Find by id. */ @Test public void findById() { final License lic = finder.findByShortName(license1.getShortName()); assertNotNull(lic); assertEquals(license1.getShortName(), lic.getShortName()); assertEquals(license1.getLongName(), lic.getLongName()); }