logger.addAppender(logHistory);
SerializableChecker serializableChecker = new SerializableChecker(new ByteArrayOutputStream(),
new NotSerializableException());
try
{
serializableChecker.writeObject(new TestType1());
String expectedMessage = "Wasn't possible to check the object 'class org.apache.wicket.util.io.SerializableCheckerTest$ProblematicType' possible due an problematic implementation of equals method";
assertTrue(logHistory.contains(Level.WARN, expectedMessage));
}
catch (TestException notMeaningfulException)
{