net.thucydides.core.steps.ScenarioStepsStepDelayer Maven / Gradle / Ivy
package net.thucydides.core.steps;
import net.serenitybdd.model.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);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy