java.lang.Object
net.serenitybdd.screenplay.RememberThat
- All Implemented Interfaces:
net.serenitybdd.core.SkipNested,net.serenitybdd.markers.IsSilent,Performable
- Direct Known Subclasses:
RememberThat.WithQuestion,RememberThat.WithValue
public abstract class RememberThat
extends Object
implements Performable, net.serenitybdd.markers.IsSilent
A convenience method to allow an actor to remember things when performing tasks.
An actor can remember values, e.g.
actor.attemptsTo(RememberThat.theValueOf("favorite color").is("blue"))"
An actor can also remember the answers to questions, e.g.
Question<String> favoriteColor = ...
actor.attemptsTo(RememberThat.theValueOf("favorite color").isAnsweredBy(favoriteColor))
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.serenitybdd.screenplay.Performable
performAs, then
-
Constructor Details
-
RememberThat
public RememberThat()
-
-
Method Details
-
theValueOf
-