Пример #1
0
 @Test
 public void testSetPrenomUsager() {
   usager.setPrenomUsager("Marco");
   assertEquals("Set correct : ", "Marco", usager.getPrenomUsager());
 }
Пример #2
0
 @Test
 public void testGetPrenomUsagerTrue() {
   assertEquals("Get correct : ", "Erwan", usager.getPrenomUsager());
 }
Пример #3
0
 @Test
 public void testGetPrenomUsagerFalse() {
   assertNotEquals("Get incorrect : ", "Buzit", usager.getPrenomUsager());
 }
Пример #4
0
 @Test
 public void testGetNomUsagerTrue() {
   assertEquals("Get correct : ", "Bourgeois", usager.getNomUsager());
 }
Пример #5
0
 @Test
 public void testSetNomUsager() {
   usager.setNomUsager("Martins");
   assertEquals("Set correct : ", "Martins", usager.getNomUsager());
 }
Пример #6
0
 @Test
 public void testSetAdresseRueUsager() {
   usager.setAdresseRueUsager("29 rue de brest");
   assertEquals("Set correct : ", "29 rue de brest", usager.getAdresseRueUsager());
 }
Пример #7
0
 @Test
 public void testSetAdresseVilleUsager() {
   usager.setAdresseVilleUsager("Brest");
   assertEquals("Set correct : ", "Brest", usager.getAdresseVilleUsager());
 }
Пример #8
0
 @Test
 public void testGetMotDePasseFalse() {
   assertNotEquals("Get incorrect : ", "mymartins", usager.getMotDePasse());
 }
Пример #9
0
 @Test
 public void testGetIdUsagerTrue() {
   assertEquals("Get correct : ", "U001", usager.getIdUsager());
 }
Пример #10
0
 @Test
 public void testGetNomUserFalse() {
   assertNotEquals("Get incorrect : ", "Martins", usager.getNomUser());
 }
Пример #11
0
 @Test
 public void testSetGetMotDePasse() {
   usager.setMotDePasse("myerwan");
   assertEquals("Get correct : ", "myerwan", usager.getMotDePasse());
 }
Пример #12
0
 @Test
 public void testSetCpUsager() {
   usager.setCpUsager("29500");
   assertEquals("Set correct : ", "29500", usager.getCpUsager());
 }
Пример #13
0
 @Test
 public void testGetCpUsagerFalse() {
   assertNotEquals("Get incorrect : ", "29000", usager.getCpUsager());
 }
Пример #14
0
 @Test
 public void testGetCpUsagerTrue() {
   assertEquals("Get correct : ", "29700", usager.getCpUsager());
 }
Пример #15
0
 @Test
 public void testGetAdresseRueUsagerTrue() {
   assertEquals("Get correct : ", "26 rue de quimper", usager.getAdresseRueUsager());
 }
Пример #16
0
 @Test
 public void testGetIdUsagerFalse() {
   assertNotEquals("Get incorrect : ", "U002", usager.getIdUsager());
 }
Пример #17
0
 @Test
 public void testGetAdresseRueUsagerFalse() {
   assertNotEquals("Get incorrect : ", "27 rue de quimper", usager.getAdresseRueUsager());
 }
Пример #18
0
 @Test
 public void testSetIdUsager() {
   usager.setIdUsager("U005");
   assertEquals("Set correct : ", "U005", usager.getIdUsager());
 }
Пример #19
0
 @Test
 public void testGetAdresseVilleUsagerTrue() {
   assertEquals("Get correct : ", "Pluguffan", usager.getAdresseVilleUsager());
 }
Пример #20
0
 @Test
 public void testGetAdresseVilleUsagerFalse() {
   assertNotEquals("Get incorrect : ", "Quimper", usager.getAdresseVilleUsager());
 }