*
* @param player the player the history record belongs to
* @return a new entity
*/
protected PlayerHistory createPlayerHistory(final Player player) {
final PlayerHistory playerHistory = new PlayerHistory();
playerHistory.setAverageStrength(3.4f);
playerHistory.setEndurance(77);
playerHistory.setEnergy(88);
playerHistory.setExperience(100);
playerHistory.setForm(90);
playerHistory.setPlayer(player);
playerHistory.setSkillGoalkeeping(3);
playerHistory.setSkillPassing(19);
playerHistory.setSkillPlaymaking(17);
playerHistory.setSkillScoring(12);
playerHistory.setSkillTackling(37);
playerHistory.setImportDate(new Date());
return playerHistory;
}