@Test
public void testGetUnknownLicense() throws Exception {

    final DbLicense dbLicense = new DbLicense() ;
    dbLicense.setName("name");
    dbLicense.setLongName("");
    dbLicense.setComments("");
    dbLicense.setRegexp("");
    dbLicense.setUrl("");
    final ModelMapper modelMapper = new ModelMapper(mock(RepositoryHandler.class));
    final License license = modelMapper.getLicense(dbLicense);
    assertEquals(true, license.isUnknown());
}