THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
OpenJPA's unit tests are written using JUnit. For a template for a simple test case, see the code for TestPersistence.java.
Once you have downloaded and built OpenJPA (see Building OpenJPA), you can run individual tests using the "test" goal to maven. For example:
...