/**
* Serialize an instance, restore it, and check for equality.
*/
public void testSerialization() {
ShortTextTitle t1 = new ShortTextTitle("ABC");
ShortTextTitle t2 = null;
try {
ByteArrayOutputStream buffer = new ByteArrayOutputStream();
ObjectOutput out = new ObjectOutputStream(buffer);
out.writeObject(t1);