Now a test that deals with database must use DbSetupRule or DbUnitLoadingRule or extends DataSetTest.
DbUnitLoadingRule or extends of DataSetTest use DbSetupRule in backend.
DbSetupRule provides a method to get connection safety into integration tests: all the connection provided are closed at the end of a test (database lock prevention).