Assert.assertTrue(value);
}
@Test
public void testInvalidUser(){
ValidUser user = new ValidUser();
user.setAge(24);
user.setBirthDate(new java.sql.Date(105, 9, 20));
user.setMail("diego.sarmentero@gmail.com");
user.setPass("sfdfsgDFSasda423!##$");
user.setWeb("www.google.com/p/quicdb");
user.setName(""); //empty
boolean value = admin.save(user);
Assert.assertTrue(!value);
user.setName("diego leonardo sarmentero"); //exceed max length
value = admin.save(user);
Assert.assertTrue(!value);
}