net.serenitybdd.screenplay.questions.TargetedUIStateQuestion Maven / Gradle / Ivy
package net.serenitybdd.screenplay.questions;
import net.serenitybdd.screenplay.Actor;
import net.serenitybdd.screenplay.Question;
class TargetedUIStateQuestion implements Question {
private final TargetedUIState targetedUIState;
TargetedUIStateQuestion(TargetedUIState targetedUIState) {
this.targetedUIState = targetedUIState;
}
@Override
public T answeredBy(Actor actor) {
return targetedUIState.resolve();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy