title: how to test in Java that a class implements Serializable correctly (not just is an instance of Serializable)
body: <p>I am implementing a class to be Serializable (so it's a value object for use w/ RMI). But I need to test it. Is there a way to do this easily?</p>
  
  <p><strong>clarification</strong>: I'm implementing the class, so it's trivial to stick Serializable in the class definition. I need to manually serialize/deserialize it to see if it works.</p>
  
  <p>I found this <a href="https://stackoverflow.com/questions/236599/how-to-unit-test-if-my-object-is-really-serializable">C# question</a>, is there a similar answer for Java?</p>