Check out this test case template:
http://in.relation.to/2016/01/14/hibernate-jpa-test-case-template/
The JUnit test case shows you how to bootstrap, run tests, and clear resources at the end.
Check out this test case template:
http://in.relation.to/2016/01/14/hibernate-jpa-test-case-template/
The JUnit test case shows you how to bootstrap, run tests, and clear resources at the end.