@Test public void testExampleShouldLogToHtml() { Map<String, String> tableRow = new HashMap<>(); tableRow.put("a", "1"); underTest.example(tableRow); verify(jBehaveTestCase).logExampleRow("{a=1}"); }
@Override public void example(final Map<String, String> tableRow) { jBehaveTestCase.logExampleRow(tableRow.toString()); }
JBehaveStoryReporter extends NullStoryReporter { @Override public void example(final Map<String, String> tableRow) { jBehaveTestCase.logExampleRow(tableRow.toString()); } }
JBehaveStoryReporter extends NullStoryReporter { @Override public void example(final Map<String, String> tableRow) { jBehaveTestCase.logExampleRow(tableRow.toString()); } JBehaveStoryReporter(final JBehaveTestCase jBehaveTestCase); }
JBehaveStoryReporter extends NullStoryReporter { @Override public void example(final Map<String, String> tableRow) { jBehaveTestCase.logExampleRow(tableRow.toString()); } JBehaveStoryReporter(final JBehaveTestCase jBehaveTestCase); @Override void beforeStory(final Story story, final boolean givenStory); @Override void beforeScenario(final String scenarioTitle); @Override void example(final Map<String, String> tableRow); @Override void successful(final String step); @Override void notPerformed(final String step); @Override void failed(final String step, final Throwable cause); @Override void pending(final String step); }
JBehaveStoryReporter extends NullStoryReporter { @Override public void example(final Map<String, String> tableRow) { jBehaveTestCase.logExampleRow(tableRow.toString()); } JBehaveStoryReporter(final JBehaveTestCase jBehaveTestCase); @Override void beforeStory(final Story story, final boolean givenStory); @Override void beforeScenario(final String scenarioTitle); @Override void example(final Map<String, String> tableRow); @Override void successful(final String step); @Override void notPerformed(final String step); @Override void failed(final String step, final Throwable cause); @Override void pending(final String step);  }