import org.hibernate.Session;
import org.junit.runner.RunWith;
-@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true)
+@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true)
public class CatalogDatabaseESTest extends CatalogDatabaseESTestscaffolding {
@Test(timeout = 4000)
PrivateAccess.callMethod((Class<CatalogDatabase>) CatalogDatabase.class, catalogDatabase0, "getSession");
PrivateAccess.callMethod((Class<CatalogDatabase>) CatalogDatabase.class, catalogDatabase0, "getSession");
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getHeatTemplate((String) null);
fail("Expecting exception: ClassCastException");
-
+
} catch(ClassCastException e) {
//
// org.openecomp.mso.db.catalog.beans.VfModuleToHeatFiles$$EnhancerByMockitoWithCGLIB$$309d9392 cannot be cast to org.openecomp.mso.db.catalog.beans.HeatTemplate
Session session1 = mock(Session.class, new ViolatedAssumptionAnswer());
HeatTemplate heatTemplate0 = mock(HeatTemplate.class, new ViolatedAssumptionAnswer());
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getVfModuleType((String) null, (String) null);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
catalogDatabase0.saveHeatFiles(heatFiles0);
Set<HeatTemplateParam> set0 = (Set<HeatTemplateParam>) mock(Set.class, new ViolatedAssumptionAnswer());
// Undeclared exception!
- try {
+ try {
catalogDatabase0.saveHeatTemplate(heatTemplate0, set0);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
}
}
Set<HeatTemplateParam> set0 = (Set<HeatTemplateParam>) mock(Set.class, new ViolatedAssumptionAnswer());
doReturn(iterator0).when(set0).iterator();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.saveHeatTemplate(heatTemplate0, set0);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
doReturn((Query) null).when(session0).createQuery(anyString());
PrivateAccess.setVariable((Class<CatalogDatabase>) CatalogDatabase.class, catalogDatabase0, "session", (Object) session0);
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getService(hashMap0, "Successfully. No template found");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
doReturn((Query) null).when(session0).createQuery(anyString());
PrivateAccess.setVariable((Class<CatalogDatabase>) CatalogDatabase.class, catalogDatabase0, "session", (Object) session0);
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getNestedTemplates(2377);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
doReturn((Query) null).when(session0).createQuery(anyString());
PrivateAccess.setVariable((Class<CatalogDatabase>) CatalogDatabase.class, catalogDatabase0, "session", (Object) session0);
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getVnfComponentsRecipe("Generic exception searching for vnf_id=", (String) null, (String) null, (String) null);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
PrivateAccess.setVariable((Class<CatalogDatabase>) CatalogDatabase.class, catalogDatabase0, "session", (Object) session1);
catalogDatabase0.getVnfComponent(187, "");
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getHeatEnvironment((-1));
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
}
}
public void test08() throws Throwable {
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getNetworkRecipe("735uWxa&iIbU.4]O$", ",hpGX76\"X~ow4", (String) null);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
doReturn((Query) null).when(session0).createQuery(anyString());
PrivateAccess.setVariable((Class<CatalogDatabase>) CatalogDatabase.class, catalogDatabase0, "session", (Object) session0);
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getVnfComponentsRecipeByVfModuleId("", "(3", "");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
PrivateAccess.setVariable((Class<CatalogDatabase>) CatalogDatabase.class, catalogDatabase0, "session", (Object) session0);
PrivateAccess.callMethod((Class<CatalogDatabase>) CatalogDatabase.class, catalogDatabase0, "getSession");
// Undeclared exception!
- try {
- catalogDatabase0.getVnfComponentsRecipe("B4@1", "v@\7f(U", "", (String) null, "");
+ try {
+ catalogDatabase0.getVnfComponentsRecipe("B4@1", "v@\7f(U", "", (String) null, "", "");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
doReturn((Query) null).when(session0).createQuery(anyString());
PrivateAccess.setVariable((Class<CatalogDatabase>) CatalogDatabase.class, catalogDatabase0, "session", (Object) session0);
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getService((String) null);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
doReturn((Query) null).when(session0).createQuery(anyString());
PrivateAccess.setVariable((Class<CatalogDatabase>) CatalogDatabase.class, catalogDatabase0, "session", (Object) session0);
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getVfModuleModelName("", "RiY");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
VnfRecipe vnfRecipe0 = mock(VnfRecipe.class, new ViolatedAssumptionAnswer());
Service service0 = new Service();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.saveService(service0);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
doReturn((Query) null).when(session0).createQuery(anyString());
PrivateAccess.setVariable((Class<CatalogDatabase>) CatalogDatabase.class, catalogDatabase0, "session", (Object) session0);
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getNetworkRecipe("735uWxa&iIbU.4]O$", ",hpGX76\"X~ow4", "");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
HeatTemplate heatTemplate0 = mock(HeatTemplate.class, new ViolatedAssumptionAnswer());
VnfResource vnfResource0 = mock(VnfResource.class, new ViolatedAssumptionAnswer());
// Undeclared exception!
- try {
+ try {
catalogDatabase0.saveService((Service) null);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
HeatTemplate heatTemplate0 = new HeatTemplate();
LinkedHashSet<HeatTemplateParam> linkedHashSet0 = new LinkedHashSet<HeatTemplateParam>();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.saveHeatTemplate((HeatTemplate) null, (Set<HeatTemplateParam>) linkedHashSet0);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
doReturn((-1)).when(vnfResource0).getId();
doReturn("#5|%>JWRPJfP)S@").when(vnfResource0).getVnfType();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.saveOrUpdateVnfResource(vnfResource0);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
MsoLogger.StatusCode.values();
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.saveVnfRecipe((VnfRecipe) null);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
doReturn((String) null, (String) null).when(service0).getServiceNameVersionId();
doReturn((String) null).when(service0).getServiceVersion();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.saveService(service0);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
HeatEnvironment heatEnvironment0 = new HeatEnvironment();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.saveHeatEnvironment(heatEnvironment0);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
MessageEnum messageEnum0 = MessageEnum.APIH_GENERAL_METRICS;
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.saveHeatEnvironment((HeatEnvironment) null);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
public void test22() throws Throwable {
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getVnfRecipe((String) null, (String) null, (String) null);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
MsoLogger.ErrorCode.values();
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.rollback();
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
public void test24() throws Throwable {
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getAllHeatTemplates();
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
public void test25() throws Throwable {
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getHeatFilesForVfModule((-1539));
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
public void test26() throws Throwable {
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getHeatEnvironment(0);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
public void test27() throws Throwable {
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getAllHeatEnvironment();
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
public void test28() throws Throwable {
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.commit();
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
heatFiles0.setVersion("E0)WE F/LaV~i2U01");
heatFiles0.setFileName("uIZl|");
// Undeclared exception!
- try {
+ try {
catalogDatabase0.saveHeatFiles(heatFiles0);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
public void test30() throws Throwable {
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.saveVnfComponentsRecipe((VnfComponentsRecipe) null);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
MessageEnum messageEnum2 = MessageEnum.NO_PROPERTIES;
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.healthCheck();
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
catalogDatabase0.close();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getHeatTemplate(1197);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
public void test33() throws Throwable {
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getAllNetworkResources();
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
public void test34() throws Throwable {
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getVnfComponentsRecipe("Ikrt3T$WS\"UMs#Q", "Ikrt3T$WS\"UMs#Q", "Ikrt3T$WS\"UMs#Q", "");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
public void test35() throws Throwable {
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getHeatTemplate((String) null);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
public void test36() throws Throwable {
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getVnfComponent(1987, "R$9=*_j3~I=:_");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
public void test37() throws Throwable {
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getHeatFiles(0, "r#j>oJCQI5r'@)jSH", "K6#W1{s", "vRm");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
public void test38() throws Throwable {
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getVnfResourcesByRole("");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
MessageEnum messageEnum0 = MessageEnum.RA_ASYNC_DELETE_VNF;
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getAllVnfResources();
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
PrivateAccess.callMethod((Class<CatalogDatabase>) CatalogDatabase.class, catalogDatabase0, "getSession");
catalogDatabase0.getHeatTemplate((String) null);
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getHeatEnvironment(148);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
}
}
catalogDatabase0.saveHeatFiles(heatFiles0);
Set<HeatTemplateParam> set0 = (Set<HeatTemplateParam>) mock(Set.class, new ViolatedAssumptionAnswer());
// Undeclared exception!
- try {
+ try {
catalogDatabase0.saveHeatTemplate(heatTemplate0, set0);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
Iterator<HeatTemplateParam> iterator0 = (Iterator<HeatTemplateParam>) mock(Iterator.class, new ViolatedAssumptionAnswer());
Set<HeatTemplateParam> set0 = (Set<HeatTemplateParam>) mock(Set.class, new ViolatedAssumptionAnswer());
// Undeclared exception!
- try {
+ try {
catalogDatabase0.saveHeatTemplate(heatTemplate0, set0);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
}
}
doReturn(query0).when(session1).createQuery(anyString());
PrivateAccess.setVariable((Class<CatalogDatabase>) CatalogDatabase.class, catalogDatabase0, "session", (Object) session1);
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getHeatEnvironment((-1));
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
}
}
String string2 = "U`9Z8:QQUr-c(T@_/)";
String string3 = "$q')fpKG]Q&i\"'{x";
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getNetworkResource("FT>Ri6U\"Ks<.H/g[");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
int int0 = 1030;
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getAllVfModules();
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
MsoLogger.ResponseCode msoLogger_ResponseCode0 = MsoLogger.ResponseCode.DataNotFound;
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getVfModuleType("serviceVersion", "serviceVersion");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
MsoLogger.ResponseCode msoLogger_ResponseCode0 = MsoLogger.ResponseCode.Conflict;
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getNestedTemplates(2377);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
String string0 = null;
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getVnfResource((String) null, (String) null);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
String string0 = ", description=";
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getServiceRecipe((-1319), ", description=");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
String string1 = "735uWxa&iIbU.4]O$";
String string2 = "APIH_ERROR_FROM_BPEL_SERVER";
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getNetworkRecipe("735uWxa&iIbU.4]O$", ",hpGX76\"X~ow4", "");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
String string0 = ",hpGX76\"X~ow4";
String string1 = "APIH_ERROR_FROM_BPEL_SERVER";
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getNetworkRecipe("", ",hpGX76\"X~ow4");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
String string2 = "";
String string3 = null;
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getVnfResource((String) null);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
String string0 = "Ikrt3T$WS\"UMs#Q";
String string1 = null;
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getServiceByUUID("Ikrt3T$WS\"UMs#Q");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
String string0 = "v@\7f(U";
// Undeclared exception!
- try {
- catalogDatabase0.getVnfComponentsRecipe("!4@@1", "v@\7f(U", "", (String) null, "");
+ try {
+ catalogDatabase0.getVnfComponentsRecipe("!4@@1", "v@\7f(U", "", (String) null, "", "");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
HashMap<String, String> hashMap0 = new HashMap<String, String>();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getService(hashMap0, "Successfully. No template found");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
MessageEnum messageEnum1 = MessageEnum.ASDC_ARTIFACT_DOWNLOAD_FAIL;
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getVnfComponentsRecipeByVfModuleId("", "(3", "");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
String string0 = "";
String string1 = "RiY";
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getHeatEnvironment("", "RiY", "RiY");
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
HeatTemplate heatTemplate0 = new HeatTemplate();
LinkedHashSet<HeatTemplateParam> linkedHashSet0 = new LinkedHashSet<HeatTemplateParam>();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.saveHeatTemplate(heatTemplate0, (Set<HeatTemplateParam>) linkedHashSet0);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)
MessageEnum messageEnum1 = MessageEnum.RA_SEND_REQUEST_SDNC;
CatalogDatabase catalogDatabase0 = new CatalogDatabase();
// Undeclared exception!
- try {
+ try {
catalogDatabase0.getVnfComponentsRecipe("Generic exception searching for vnf_id=", (String) null, (String) null, (String) null);
fail("Expecting exception: NullPointerException");
-
+
} catch(NullPointerException e) {
//
// no message in exception (getMessage() returned null)