assertEquals(expectedAccount.getCode(), account.getCode());
assertEquals(expectedAccount.getName(), account.getName());
assertEquals(expectedAccount.getSurname(), account.getSurname());
- assertEquals(expectedAccount.getPassword(), account.getPassword());
+ assertNull(account.getPassword());
assertEquals(expectedAccount.getRole(), account.getRole());
}
assertEquals(expectedAccount.getCode(), account.getCode());
assertEquals(expectedAccount.getName(), account.getName());
assertEquals(expectedAccount.getSurname(), account.getSurname());
- assertEquals(expectedAccount.getPassword(), account.getPassword());
+ assertNull(account.getPassword());
assertEquals(expectedAccount.getRole(), account.getRole());
}
assertEquals(expectedAccount.getCode(), account.getCode());
assertEquals(expectedAccount.getName(), account.getName());
assertEquals(expectedAccount.getSurname(), account.getSurname());
- assertEquals(expectedAccount.getPassword(), account.getPassword());
+ assertNull(account.getPassword());
assertEquals(expectedAccount.getRole(), account.getRole());
accountDao.deleteByCode(expectedAccount.getCode());