*/
public class ClassReferenceTestCase extends TestCase {
public void testJavaSerialization() throws Exception
{
Object obj = new TestClassReferenceTest();
ByteArrayOutputStream byteout = new ByteArrayOutputStream();
ObjectOutputStream out = new ObjectOutputStream (byteout);
out.writeObject(obj);
out.flush();
ObjectInputStream inp = new ObjectInputStream (new ByteArrayInputStream(byteout.toByteArray()));