* Serialize an instance, restore it, and check for equality.
*/
public void testSerialization() {
String[] tickLabels = new String[] {"One", "Two", "Three"};
SymbolicAxis a1 = new SymbolicAxis("Test Axis", tickLabels);
SymbolicAxis a2 = null;
try {
ByteArrayOutputStream buffer = new ByteArrayOutputStream();
ObjectOutput out = new ObjectOutputStream(buffer);
out.writeObject(a1);