Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final void testExtractDataAsList(Account e){
- List<Account> list = logic.getAll();
- Account testAccount = list.get(0);
- List<?> extractedList = logic.extractDataAsList(testAccount);
- assertEquals(testAccount.getDisplayName(), extractedList.getDisplayName());
- assertEquals(testAccount.getPassword(), extractedList.getPassword());
- assertEquals(testAccount.getUser(), extractedList.getUser());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement