public static void rollbackForTestClass() { SavePoint savePoint = TestRun.getSavePointForTestClass(); if (savePoint != null) { savePoint.rollback(); TestRun.setSavePointForTestClass(null); } }