/** * Method roll back PreCondition for functionality test with DB changes. * * @param teamsData - team list for DB restore */ public static void forValidationTeamFildsTest(final List<Team> teamsData) { DALTools.clearTable(TestsConstants.TEAM_TABLE); TeamRepository.insertTeamList(teamsData); }
/** * Method roll back PreCondition for functionality test with DB changes. Restores Teams Table * contains". */ public static void forTeamsTable() { DALTools.clearTable(TestsConstants.TEAM_TABLE); TeamRepository.insertTeamList(SetPreconditions.getTeamListDB()); SetPreconditions.setTeamListDB(null); }