Ejemplo n.º 1
0
 protected EmailAddress createFixture() throws Exception {
   EmailAddress emailAddress = new EmailAddress();
   emailAddress.setUrl("*****@*****.**");
   emailAddress.setFirstName("Tom");
   emailAddress.setLastName("Fisher");
   return emailAddress;
 }
Ejemplo n.º 2
0
 @Override
 public boolean equals(Object object) {
   Root other = (Root) object;
   return emailAddress.equals(other.emailAddress);
 }