The JPA Maven Plugin makes unit testing your Maven-based JPA projects easier.