@Test(expected = SW360Exception.class)
public void testAddLicenseNotValid() throws Exception {

    License invalidLicense = new License();
    invalidLicense.setShortname("Invalid ! License Id ???");
    invalidLicense.setFullname("This is a invalid license");
    handler.updateLicense(invalidLicense, user, user);
}