@Test
void getLicense() throws IOException
{

    ExtensionLicense license = this.licenseManager.getLicense("Apache License 2.0");
    List<String> content = IOUtils.readLines(
        getClass().getResourceAsStream("/extension/licenses/Apache License 2.0.license"), StandardCharsets.UTF_8);
    content = content.subList(8, content.size());
    assertNotNull(license);
    assertEquals("Apache License 2.0", license.getName());
    assertEquals(content, license.getContent());
    license = this.licenseManager.getLicense("ASL");
    assertNotNull(license);
    assertEquals("Apache License 2.0", license.getName());
    assertEquals(content, license.getContent());
}