
net.serenitybdd.screenplay.QuestionBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serenity-screenplay Show documentation
Show all versions of serenity-screenplay Show documentation
Support for the User Journey pattern in Serenity
package net.serenitybdd.screenplay;
import net.serenitybdd.screenplay.questions.QuestionWithDefinedSubject;
public class QuestionBuilder {
private final String subject;
QuestionBuilder(String subject) {
this.subject = subject;
}
public Question answeredBy(Question questionToAsk) {
return new QuestionWithDefinedSubject<>(questionToAsk, subject);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy