-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add getBin to GooglePayCardNonce * Update test to add getBin * Verified bin is returned as expected in demo app
- Loading branch information
1 parent
87a71a0
commit adad496
Showing
4 changed files
with
24 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ public void fromJson_createsGooglePayCardNonce() throws Exception { | |
|
||
assertEquals("fake-google-pay-nonce", googlePayCardNonce.getString()); | ||
assertEquals("Visa", googlePayCardNonce.getCardType()); | ||
assertEquals("123456", googlePayCardNonce.getBin()); | ||
assertEquals("11", googlePayCardNonce.getLastTwo()); | ||
assertEquals("1234", googlePayCardNonce.getLastFour()); | ||
assertEquals("[email protected]", googlePayCardNonce.getEmail()); | ||
|
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