io.cucumber.core.runner.UndefinedPickleStepDefinitionMatch Maven / Gradle / Ivy
package io.cucumber.core.runner;
import io.cucumber.core.backend.TestCaseState;
import io.cucumber.core.gherkin.Step;
import java.net.URI;
import java.util.Collections;
final class UndefinedPickleStepDefinitionMatch extends PickleStepDefinitionMatch {
UndefinedPickleStepDefinitionMatch(URI uri, Step step) {
super(Collections.emptyList(), new NoStepDefinition(), uri, step);
}
@Override
public void runStep(TestCaseState state) {
throw new UndefinedStepDefinitionException();
}
@Override
public void dryRunStep(TestCaseState state) {
throw new UndefinedStepDefinitionException();
}
}