|
|
@@ -5,16 +5,16 @@ import org.junit.Test;
|
|
5
|
5
|
|
|
6
|
6
|
public class PaymentPresenterTest {
|
|
7
|
7
|
|
|
8
|
|
-// @Test
|
|
9
|
|
-// public void toStringEmptyTest() {
|
|
10
|
|
-// Payment[] payments = new Payment[0];
|
|
11
|
|
-// PaymentPresenter presenter = new PaymentPresenter();
|
|
12
|
|
-// String expected = "";
|
|
13
|
|
-//
|
|
14
|
|
-// String actual = presenter.toString(payments);
|
|
15
|
|
-//
|
|
16
|
|
-// Assert.assertEquals(expected, actual);
|
|
17
|
|
-// }
|
|
|
8
|
+ @Test
|
|
|
9
|
+ public void toStringEmptyTest() {
|
|
|
10
|
+ Payment[] payments = new Payment[0];
|
|
|
11
|
+ PaymentPresenter presenter = new PaymentPresenter();
|
|
|
12
|
+ String expected = "";
|
|
|
13
|
+
|
|
|
14
|
+ String actual = presenter.toString(payments);
|
|
|
15
|
+
|
|
|
16
|
+ Assert.assertEquals(expected, actual);
|
|
|
17
|
+ }
|
|
18
|
18
|
// @Test
|
|
19
|
19
|
// public void toStringTest() {
|
|
20
|
20
|
// Payment[] payments = new Payment[2];
|