Seth 7 лет назад
Родитель
Сommit
a87d0695cf

+ 4
- 0
src/main/java/com/zipcoder/payment/PaymentPresenter.java Просмотреть файл

@@ -1,6 +1,10 @@
1 1
 package com.zipcoder.payment;
2 2
 
3 3
 public class PaymentPresenter {
4
+    public PaymentPresenter() {
5
+
6
+    }
7
+
4 8
 
5 9
 
6 10
 }

+ 10
- 10
src/test/java/com/zipcoder/payment/PaymentPresenterTest.java Просмотреть файл

@@ -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];