Browse Source

Update 'README.MD'

nhu313 6 years ago
parent
commit
46b01f7cdb
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      README.MD

+ 4
- 1
README.MD View File

102
     Payment check = new Check(81L, "Tia Mowry", "11432543", "134344551")
102
     Payment check = new Check(81L, "Tia Mowry", "11432543", "134344551")
103
 
103
 
104
     payment[0] = paypal;
104
     payment[0] = paypal;
105
-
105
+    payment[1] = check;
106
+    
106
     PaymentPresenter presenter = new PaymentPresenter();
107
     PaymentPresenter presenter = new PaymentPresenter();
107
     String expected = "Check Tia Mowry ***4551\nPaypal Tia Mowry tia@mowry.com\n";
108
     String expected = "Check Tia Mowry ***4551\nPaypal Tia Mowry tia@mowry.com\n";
108
 
109
 
119
       Payment check = new Check(81L, "Tia Mowry", "11432543", "134344551")
120
       Payment check = new Check(81L, "Tia Mowry", "11432543", "134344551")
120
 
121
 
121
       payment[0] = paypal;
122
       payment[0] = paypal;
123
+      payment[1] = check;
122
 
124
 
123
       PaymentPresenter presenter = new PaymentPresenter();
125
       PaymentPresenter presenter = new PaymentPresenter();
124
       String expected = "Paypal Tamara Mowry tamara@mowry.com\nCheck Tia Mowry ***4551\n";
126
       String expected = "Paypal Tamara Mowry tamara@mowry.com\nCheck Tia Mowry ***4551\n";
136
       Payment check = new Check(81L, "Tia Mowry", "11432543", "134344551")
138
       Payment check = new Check(81L, "Tia Mowry", "11432543", "134344551")
137
 
139
 
138
       payment[0] = paypal;
140
       payment[0] = paypal;
141
+      payment[1] = check;
139
 
142
 
140
       PaymentPresenter presenter = new PaymentPresenter();
143
       PaymentPresenter presenter = new PaymentPresenter();
141
       String expected = "Paypal Tamara Mowry tamara@mowry.com\nCheck Tia Mowry ***4551\n";
144
       String expected = "Paypal Tamara Mowry tamara@mowry.com\nCheck Tia Mowry ***4551\n";