JUnit and Hibernate DAO Integration Tests. The Tests run the setup, test and teardown methods within a transaction to keeps the database clean after the test is finished.