/** Test of setMail method, of class DataUsuario. */ @Test public void testSetMail() { System.out.println("setMail"); String mail = "*****@*****.**"; DataUsuario instance = new DataUsuario("Juan", "*****@*****.**"); instance.setMail(mail); // TODO review the generated test code and remove the default call to fail. // fail("The test case is a prototype."); }
/** Test of getMail method, of class DataUsuario. */ @Test public void testGetMail() { System.out.println("getMail"); DataUsuario instance = new DataUsuario("Juan", "*****@*****.**"); String expResult = "*****@*****.**"; String result = instance.getMail(); assertEquals(expResult, result); // TODO review the generated test code and remove the default call to fail. // fail("The test case is a prototype."); }