@Test
public void testUpdateLicense() throws Exception {

    License license = licenses.get("Apache-1.1");
    license.setFullname("Fullname of license changed");
    RequestStatus status = handler.updateLicense(license, user, user);
    assertEquals(RequestStatus.SUCCESS, status);
    License licenseActual = handler.getByID(license.getShortname(), user.getDepartment());
    assertEquals("Fullname of license changed", licenseActual.getFullname());
}