Skip to content

Commit

Permalink
#57: made the CUT a static inner class to improve consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Merdes authored and Matthias Merdes committed Jan 21, 2016
1 parent 42c3243 commit 6083723
Showing 1 changed file with 13 additions and 13 deletions.
Expand Up @@ -39,23 +39,23 @@ public void threeReportEntriesArePublished() {
assertEquals(3L, eventRecorder.getReportingEntryPublishedCount(), "# report entries published");
}

}
static class MyReportingTestCase {

class MyReportingTestCase {
@BeforeEach
void before(TestReporter reporter) {
reporter.publishEntry(new ReportingEntry(new HashMap<>()));
}

@BeforeEach
void before(TestReporter reporter) {
reporter.publishEntry(new ReportingEntry(new HashMap<>()));
}
@AfterEach
void after(TestReporter reporter) {
reporter.publishEntry(new ReportingEntry(new HashMap<>()));
}

@AfterEach
void after(TestReporter reporter) {
reporter.publishEntry(new ReportingEntry(new HashMap<>()));
}
@Test
void succeedingTest(TestReporter reporter) {
reporter.publishEntry(new ReportingEntry(new HashMap<>()));
}

@Test
void succeedingTest(TestReporter reporter) {
reporter.publishEntry(new ReportingEntry(new HashMap<>()));
}

}

0 comments on commit 6083723

Please sign in to comment.