/**
* Test checks retreival of all the skills.
*/
@Test
public void testGetAll(){
Skill newSkill = new Skill();
newSkill.setDescription("Brand new skill");
newSkill.setName("New skill");
newSkill.setMinXP(1000L);
newSkill.setProfession("Wizard");
Skill anotherSkill = new Skill();
anotherSkill.setDescription("Brand new skill");
anotherSkill.setName("New skill");
anotherSkill.setMinXP(1000L);
anotherSkill.setProfession("Wizard");
skillDAO.create(newSkill);
skillDAO.create(anotherSkill);
List<Skill> skills = skillDAO.getAll();