assertFalse(new Account().equals("woo"));
}
@Test
public void itIsNotEqualToAnotherAccountWithDifferentFields() throws Exception {
final Account firstAccount = new Account();
final Account otherAccount = new Account();
inject(Account.class, firstAccount, "id", Integer.valueOf(300));
inject(Account.class, firstAccount, "guid", "0123456789");
inject(Account.class, otherAccount, "id", Integer.valueOf(200));
inject(Account.class, otherAccount, "guid", "9876543210");
assertFalse(firstAccount.equals(otherAccount));
assertFalse(firstAccount.hashCode() == otherAccount.hashCode());
}