Rahul- If it worked, then the persistence tests should pass. E.g., the following should work from the top-level of the project: mvn clean test -Dtest=TestPersistence -Dopenjpa.loglevel=trace On Jan 20, 2007, at 5:49 PM, Rahul Thakur wrote: > Hi, > > I'd like to put together a couple of unit tests for the Enhancer > mojo. For this I had a look at openjpa-kernel module where the > PCEnhancer is located but could not find any tests. > > How can I test if a persistence-enabled class has been enhanced as > expected from a unit test? Appreciate any pointers. > > Cheers, > Rahul