1   package org.apache.commons.proxy.util;
2   
3   import junit.framework.TestCase;
4   import org.apache.commons.lang.SerializationUtils;
5   
6   import java.io.Serializable;
7   
8   /**
9    * @auothor James Carman
10   * @since 1.1
11   */
12  public abstract class AbstractTestCase extends TestCase
13  {
14  //**********************************************************************************************************************
15  // Other Methods
16  //**********************************************************************************************************************
17  
18      protected void assertSerializable( Object o )
19      {
20          assertTrue(o instanceof Serializable);
21          SerializationUtils.clone(( Serializable ) o);
22      }
23  }