use of io.cucumber.plugin.event.TestCaseStarted in project cucumber-jvm by cucumber.
the class CanonicalEventOrderTest method createTestCaseEvent.
private static TestCaseStarted createTestCaseEvent(Instant instant, URI uri, int line) {
final TestCase testCase = mock(TestCase.class);
given(testCase.getUri()).willReturn(uri);
given(testCase.getLocation()).willReturn(new Location(line, -1));
return new TestCaseStarted(instant, testCase);
}
Aggregations