All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.serenitybdd.screenplay.questions.TargetedUIStateQuestion Maven / Gradle / Ivy

There is a newer version: 4.2.8
Show newest version
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