import org.junit.Ignore;
import org.junit.Test;

import static org.assertj.core.api.Assertions.*;

public class FootballMatchReportsTest {

    @Test
    public void test_goal() {
        assertThat(FootballMatchReports.onField(1).contentEquals("goalie"));
    }

    @Test
    @Ignore("Remove to run test")
    public void test_left_back() {
        assertThat(FootballMatchReports.onField(2).contentEquals("left back"));
    }

    @Test
    @Ignore("Remove to run test")
    public void test_right_back() {
        assertThat(FootballMatchReports.onField(5).contentEquals("right back"));
    }

    @Test
    @Ignore("Remove to run test")
    public void test_center_back() {
        assertThat(FootballMatchReports.onField(3).contentEquals("center back"));
        assertThat(FootballMatchReports.onField(4).contentEquals("center back"));
    }

    @Test
    @Ignore("Remove to run test")
    public void test_midfielder() {
        assertThat(FootballMatchReports.onField(6).contentEquals("midfielder"));
        assertThat(FootballMatchReports.onField(7).contentEquals("midfielder"));
        assertThat(FootballMatchReports.onField(8).contentEquals("midfielder"));
    }

    @Test
    @Ignore("Remove to run test")
    public void test_left_wing() {
        assertThat(FootballMatchReports.onField(9).contentEquals("left wing"));
    }

    @Test
    @Ignore("Remove to run test")
    public void test_striker() {
        assertThat(FootballMatchReports.onField(10).contentEquals("striker"));
    }

    @Test
    @Ignore("Remove to run test")
    public void test_right_wing() {
        assertThat(FootballMatchReports.onField(11).contentEquals("right wing"));
    }

    @Test(expected = IllegalArgumentException.class)
    @Ignore("Remove to run test")
    public void test_exception() {
        FootballMatchReports.onField(13);
    }

    @Test(expected = IllegalArgumentException.class)
    @Ignore("Remove to run test")
    public void test_exception_negative_number() {
        FootballMatchReports.onField(-1);
    }
}

@@ -92,9 +92,63 @@
 ons.
-*
+assertThat;%0Aimport static org.junit.Assert.assertThrows
 ;%0A%0Ap
@@ -277,30 +277,27 @@
 Field(1)
-.content
+).is
 Equal
-s
+To
 (%22goalie
@@ -298,17 +298,16 @@
 goalie%22)
-)
 ;%0A    %7D%0A
@@ -436,30 +436,27 @@
 Field(2)
-.content
+).is
 Equal
-s
+To
 (%22left b
@@ -452,33 +452,32 @@
 lTo(%22left back%22)
-)
 ;%0A    %7D%0A%0A    @Te
@@ -599,30 +599,27 @@
 Field(5)
-.content
+).is
 Equal
-s
+To
 (%22right 
@@ -620,25 +620,24 @@
 right back%22)
-)
 ;%0A    %7D%0A%0A   
@@ -764,30 +764,27 @@
 Field(3)
-.content
+).is
 Equal
-s
+To
 (%22center
@@ -786,25 +786,24 @@
 enter back%22)
-)
 ;%0A        as
@@ -842,30 +842,27 @@
 Field(4)
-.content
+).is
 Equal
-s
+To
 (%22center
@@ -868,17 +868,16 @@
 r back%22)
-)
 ;%0A    %7D%0A
@@ -1007,30 +1007,27 @@
 Field(6)
-.content
+).is
 Equal
-s
+To
 (%22midfie
@@ -1024,33 +1024,32 @@
 To(%22midfielder%22)
-)
 ;%0A        assert
@@ -1084,30 +1084,27 @@
 Field(7)
-.content
+).is
 Equal
-s
+To
 (%22midfie
@@ -1105,25 +1105,24 @@
 midfielder%22)
-)
 ;%0A        as
@@ -1161,30 +1161,27 @@
 Field(8)
-.content
+).is
 Equal
-s
+To
 (%22midfie
@@ -1182,25 +1182,24 @@
 midfielder%22)
-)
 ;%0A    %7D%0A%0A   
@@ -1324,30 +1324,27 @@
 Field(9)
-.content
+).is
 Equal
-s
+To
 (%22left w
@@ -1340,33 +1340,32 @@
 lTo(%22left wing%22)
-)
 ;%0A    %7D%0A%0A    @Te
@@ -1485,30 +1485,27 @@
 ield(10)
-.content
+).is
 Equal
-s
+To
 (%22strike
@@ -1507,17 +1507,16 @@
 triker%22)
-)
 ;%0A    %7D%0A
@@ -1651,22 +1651,19 @@
 (11)
-.content
+).is
 Equal
-s
+To
 (%22ri
@@ -1672,17 +1672,16 @@
 t wing%22)
-)
 ;%0A    %7D%0A
@@ -1694,51 +1694,8 @@
 Test
-(expected = IllegalArgumentException.class)
 %0A   
@@ -1759,32 +1759,108 @@
 tion() %7B%0A       
+ assertThrows(%0A            IllegalArgumentException.class,%0A            () -%3E
  FootballMatchRe
@@ -1876,16 +1876,17 @@
 ield(13)
+)
 ;%0A    %7D%0A
@@ -1899,51 +1899,8 @@
 Test
-(expected = IllegalArgumentException.class)
 %0A   
@@ -1988,16 +1988,92 @@
 %0A       
+ assertThrows(%0A            IllegalArgumentException.class,%0A            () -%3E
  Footbal
@@ -2097,16 +2097,17 @@
 ield(-1)
+)
 ;%0A    %7D%0A

Fix FootballMatchReportsTest (#2014)