-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
63d7f66
commit 2b8f6d8
Showing
5 changed files
with
43 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,7 @@ public void testGetInvalidStateInfo() throws Exception { | |
public void testToEntity() { | ||
AccountAttributes account = createValidAccountAttributesObject(); | ||
Account expectedAccount = new Account(account.getGoogleId(), account.getName(), | ||
account.getEmail(), account.getReadNotifications()); | ||
account.getEmail(), account.getReadNotifications(), false); | ||
|
||
Account actualAccount = account.toEntity(); | ||
|
||
|
@@ -134,7 +134,7 @@ public void testBuilder_withNullArguments_shouldThrowException() { | |
|
||
@Test | ||
public void testValueOf() { | ||
Account genericAccount = new Account("id", "Joe", "[email protected]", new HashMap<>()); | ||
Account genericAccount = new Account("id", "Joe", "[email protected]", new HashMap<>(), false); | ||
|
||
AccountAttributes observedAccountAttributes = AccountAttributes.valueOf(genericAccount); | ||
|
||
|