+ "MarshalledInstance(new FakeObject())");
logger.log(Level.FINE,"");
try {
instance = new MarshalledInstance(
new FakeObject(new AssertionError()));
} catch (Throwable caught) {
assertion(false,caught.toString());
}
logger.log(Level.FINE,"=================================");
logger.log(Level.FINE,"test case 5: "
+ "MarshalledInstance(new FakeObject(),null)");
logger.log(Level.FINE,"");
try {
instance = new MarshalledInstance(
new FakeObject(new AssertionError()),null);
assertion(false);
} catch (NullPointerException ignore) {
}
logger.log(Level.FINE,"=================================");
logger.log(Level.FINE,"test case 6: "
+ "MarshalledInstance(new Object(),context)");
logger.log(Level.FINE,"");
try {
instance = new MarshalledInstance(
new Object(),new ArrayList());
assertion(false);
} catch (IOException ignore) {
}
logger.log(Level.FINE,"=================================");
logger.log(Level.FINE,"test case 7: "
+ "MarshalledInstance(new FakeObject(),context)");
logger.log(Level.FINE,"");
try {
instance = new MarshalledInstance(
new FakeObject(new AssertionError()),new ArrayList());
} catch (Throwable caught) {
assertion(false,caught.toString());
}
}