Search in sources :

Example 1 with Lookup

use of io.cucumber.core.backend.Lookup in project cucumber-jvm by cucumber.

the class JavaStepDefinitionTransposeTest method isTransposed.

private boolean isTransposed(Method method) {
    Steps steps = new Steps();
    Lookup lookup = new SingletonFactory(steps);
    StepDefinition stepDefinition = new JavaStepDefinition(method, "some text", lookup);
    return stepDefinition.parameterInfos().get(0).isTransposed();
}
Also used : StepDefinition(io.cucumber.core.backend.StepDefinition) Lookup(io.cucumber.core.backend.Lookup)

Aggregations

Lookup (io.cucumber.core.backend.Lookup)1 StepDefinition (io.cucumber.core.backend.StepDefinition)1