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