@Test
public void testGetPendingLicense() throws Exception {

    final DbLicense dbLicense = new DbLicense() ;
    dbLicense.setName("name");
    dbLicense.setLongName("longName");
    dbLicense.setComments("comments");
    dbLicense.setRegexp("regexp");
    dbLicense.setUrl("url");
    //dbLicense.setApproved(false);
    final ModelMapper modelMapper = new ModelMapper(mock(RepositoryHandler.class));
    final License license = modelMapper.getLicense(dbLicense);
    assertEquals(true, license.isPending());
}