diff --git a/jgiven-core/src/test/java/com/tngtech/jgiven/report/model/ReportModelBuilderTest.java b/jgiven-core/src/test/java/com/tngtech/jgiven/report/model/ReportModelBuilderTest.java index 91a20583fd..880fd2d886 100644 --- a/jgiven-core/src/test/java/com/tngtech/jgiven/report/model/ReportModelBuilderTest.java +++ b/jgiven-core/src/test/java/com/tngtech/jgiven/report/model/ReportModelBuilderTest.java @@ -222,7 +222,7 @@ public void abstract_steps_should_appear_in_the_report_model() throws Throwable stage.abstract_step(); getScenario().finished(); StepModel step = getScenario().getModel().getFirstStepModelOfLastScenario(); - assertThat( step.words.get( 1 ).getFormattedValue() ).isEqualTo( "abstract_step" ); + assertThat( step.words.get( 0 ).getFormattedValue() ).isEqualTo( "abstract step" ); } diff --git a/jgiven-junit/src/test/java/com/tngtech/jgiven/playground/AbstractGiven.java b/jgiven-junit/src/test/java/com/tngtech/jgiven/playground/AbstractGiven.java deleted file mode 100644 index f223b55300..0000000000 --- a/jgiven-junit/src/test/java/com/tngtech/jgiven/playground/AbstractGiven.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.tngtech.jgiven.playground; - -import com.tngtech.jgiven.Stage; - -public abstract class AbstractGiven> extends Stage { - public abstract SELF I_can_only_be_supplied_by_a_subclass(); -} diff --git a/jgiven-junit/src/test/java/com/tngtech/jgiven/playground/SomeTestBase.java b/jgiven-junit/src/test/java/com/tngtech/jgiven/playground/SomeTestBase.java deleted file mode 100644 index 337471b2c9..0000000000 --- a/jgiven-junit/src/test/java/com/tngtech/jgiven/playground/SomeTestBase.java +++ /dev/null @@ -1,4 +0,0 @@ -package com.tngtech.jgiven.playground; - -public class SomeTestBase { -} diff --git a/jgiven-junit/src/test/java/com/tngtech/jgiven/playground/SyntheticReportTest.java b/jgiven-junit/src/test/java/com/tngtech/jgiven/playground/SyntheticReportTest.java deleted file mode 100644 index d3ab94e90e..0000000000 --- a/jgiven-junit/src/test/java/com/tngtech/jgiven/playground/SyntheticReportTest.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.tngtech.jgiven.playground; - -public class SyntheticReportTest extends SomeTestBase { - - public static class ConcreteGiven extends AbstractGiven { - @Override - public ConcreteGiven I_can_only_be_supplied_by_a_subclass() { - return self(); - } - } -} \ No newline at end of file