@Test
public void approveLicense(){

    final DbLicense license = new DbLicense();
    license.setName("licenseName");
    final DbLicense license2 = new DbLicense();
    license.setName("licenseName2");
    final DbArtifact artifactWithoutLicense = new DbArtifact();
    LicenseIdFilter filter = new LicenseIdFilter(license.getName());
    assertTrue(filter.filter(license));
    assertFalse(filter.filter(license2));
}