org.prevayler.baptism
Class BaptismProblemTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.prevayler.baptism.BaptismProblemTest
All Implemented Interfaces:
junit.framework.Test

public class BaptismProblemTest
extends junit.framework.TestCase

Shows how the baptism problem works. Used in the documentation.

Since:
Apr 5, 2004
Author:
Carlos Villela

Constructor Summary
BaptismProblemTest()
           
 
Method Summary
 void testThatSerializationNeverSerializesTheSameObjectAgain()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaptismProblemTest

public BaptismProblemTest()
Method Detail

testThatSerializationNeverSerializesTheSameObjectAgain

public void testThatSerializationNeverSerializesTheSameObjectAgain()
                                                            throws IOException,
                                                                   ClassNotFoundException
Throws:
IOException
ClassNotFoundException


Copyright © 2001-2013. All Rights Reserved.