/**Teste de getByState*/
public void testGetByState1(){
String pass = "JSLEZIOFNF";
String email="email@email7.com";
PersonalInfo pi = new PersonalInfo();
pi.setLastname("LIL");
pi.setFirstname("Ruth");
pi.setNationality("ETRANGER");
pi.setEmail(email);
pi.setPhone("+328928942");
pi.setSex("F");
pi.setBirthdate("1979-12-01");
pi.setPassword(pass);
pi.setState(Folder.FOLDER_FINALIZED);
String pass2 = "JEKEZIDINF";
String email2="email@email8.com";
PersonalInfo pi2 = new PersonalInfo();
pi2.setLastname("BOBI");
pi2.setFirstname("Morre");
pi2.setNationality("FRANCAIS");
pi2.setEmail(email2);
pi2.setPhone("+328233829038");
pi2.setSex("M");
pi2.setBirthdate("1981-04-19");
pi2.setPassword(pass2);
pi2.setState(Folder.FOLDER_FINALIZED);
/*on store les pis*/
pidao.storePersonalInfo(pi);
pidao.storePersonalInfo(pi2);