I have created a simple JPA module which I am going to use as part of a JEE solution. I am using Maven to compile and package this module. In theory I am going to use this JPA module to persist objects on a Derby database. My problem is that I can not understand how I can unit test this module!
Does anyone know how I can unit test a JPA module? I don't mind if in Maven or not at the moment.