|
|
|
|
|
|
56
|
payments[1] = check;
|
56
|
payments[1] = check;
|
|
57
|
|
57
|
|
|
58
|
PaymentPresenter presenter = new PaymentPresenter();
|
58
|
PaymentPresenter presenter = new PaymentPresenter();
|
|
59
|
- String expected = "Paypal Tamara Mowry tamara@mowry.com\nCheck Tia Mowry ***4551\n";
|
|
|
|
|
|
59
|
+ String expected = "Check Tia Mowry ***4551\nPaypal Tamara Mowry tamara@mowry.com\n";
|
|
60
|
|
60
|
|
|
61
|
String actual = presenter.toStringById(payments);
|
61
|
String actual = presenter.toStringById(payments);
|
|
62
|
assertEquals(expected, actual);
|
62
|
assertEquals(expected, actual);
|