public void testWithPrivateWriteAndRead() throws Exception
{
DataContainer container = new DataContainer(true);
ObjectOutput out = container.getOutput();
out.writeObject(new ClassWithPrivateWriteAndRead());
ObjectInput input = container.getInput();
Object newobj = input.readObject();
}