99import java .util .Date ;
1010import com .intuit .payment .data .BankAccount .BankAccountInputTypeEnum ;
1111import com .intuit .payment .data .BankAccount .AccountType ;
12+ import com .intuit .payment .data .BankAccount .VerificationStatus ;
1213
1314/**
1415 * @author enzozafra
@@ -22,6 +23,7 @@ public class BankAccountTest {
2223 private String routingNumber ;
2324 private String accountNumber ;
2425 private AccountType accountType ;
26+ private VerificationStatus verificationStatus ;
2527 private String phone ;
2628 private Boolean defaultValue ;
2729 private String country ;
@@ -42,6 +44,7 @@ public void init() {
4244 routingNumber = "12311" ;
4345 accountNumber = "123123123" ;
4446 accountType = AccountType .PERSONAL_CHECKING ;
47+ verificationStatus = VerificationStatus .VERIFIED ;
4548 phone = "5871231234" ;
4649 defaultValue = true ;
4750 country = "country" ;
@@ -62,6 +65,7 @@ public void setUp() {
6265 .routingNumber (routingNumber )
6366 .accountNumber (accountNumber )
6467 .accountType (accountType )
68+ .verificationStatus (verificationStatus )
6569 .phone (phone )
6670 .defaultValue (defaultValue )
6771 .country (country )
@@ -102,6 +106,7 @@ public void testAllSetters() {
102106 String newRoutingNumber = "11321" ;
103107 String newAccountNumber = "45655623" ;
104108 AccountType newAccountType = AccountType .PERSONAL_SAVINGS ;
109+ VerificationStatus newVerificationStatus = VerificationStatus .VERIFIED ;
105110 String newPhone = "1231231231" ;
106111 Boolean newDefaultValue = false ;
107112 String newCountry = "new country" ;
@@ -118,6 +123,7 @@ public void testAllSetters() {
118123 bankAccount .setRoutingNumber (newRoutingNumber );
119124 bankAccount .setAccountNumber (newAccountNumber );
120125 bankAccount .setAccountType (newAccountType );
126+ bankAccount .setVerificationStatus (newVerificationStatus );
121127 bankAccount .setPhone (newPhone );
122128 bankAccount .setDefaultValue (newDefaultValue );
123129 bankAccount .setCountry (newCountry );
@@ -133,6 +139,8 @@ public void testAllSetters() {
133139 Assert .assertEquals (bankAccount .getInputType (), newInputType );
134140 Assert .assertEquals (bankAccount .getRoutingNumber (), newRoutingNumber );
135141 Assert .assertEquals (bankAccount .getAccountNumber (), newAccountNumber );
142+ Assert .assertEquals (bankAccount .getAccountType (), newAccountType );
143+ Assert .assertEquals (bankAccount .getVerificationStatus (), newVerificationStatus );
136144 Assert .assertEquals (bankAccount .getPhone (), newPhone );
137145 Assert .assertEquals (bankAccount .getDefaultValue (), newDefaultValue );
138146 Assert .assertEquals (bankAccount .getCountry (), newCountry );
0 commit comments