net.thucydides.core.steps.ScenarioStepsStepDelayer Maven / Gradle / Ivy
package net.thucydides.core.steps;
import net.serenitybdd.core.time.SystemClock;
public class ScenarioStepsStepDelayer {
private final SystemClock clock;
private final T parent;
public ScenarioStepsStepDelayer(SystemClock clock, T parent) {
this.clock = clock;
this.parent = parent;
}
public WaitForBuilder waitFor(int duration) {
return new WaitForBuilder(duration, parent, clock);
}
}