Package net.serenitybdd.screenplay
Class RememberThat
java.lang.Object
net.serenitybdd.screenplay.RememberThat
- All Implemented Interfaces:
SkipNested
,IsSilent
,Performable
- Direct Known Subclasses:
RememberThat.WithQuestion
,RememberThat.WithValue
public abstract class RememberThat extends java.lang.Object implements Performable, 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 Classes Modifier and Type Class Description static class
RememberThat.MemoryBuilder
static class
RememberThat.WithQuestion
static class
RememberThat.WithValue
-
Constructor Summary
Constructors Constructor Description RememberThat()
-
Method Summary
Modifier and Type Method Description static RememberThat.MemoryBuilder
theValueOf(java.lang.String memoryKey)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.serenitybdd.screenplay.Performable
performAs, then
-
Constructor Details
-
RememberThat
public RememberThat()
-
-
Method Details
-
theValueOf
-