/**
* Serialize an instance, restore it, and check for equality.
*/
public void testSerialization() {
GridArrangement f1 = new GridArrangement(33, 44);
GridArrangement f2 = null;
try {
ByteArrayOutputStream buffer = new ByteArrayOutputStream();
ObjectOutput out = new ObjectOutputStream(buffer);
out.writeObject(f1);
out.close();