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