
net.serenitybdd.screenplay.Forget 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
The newest version!
package net.serenitybdd.screenplay;
import net.serenitybdd.markers.IsSilent;
public class Forget implements Interaction, IsSilent {
private final String memoryKey;
public Forget(String memoryKey) {
this.memoryKey = memoryKey;
}
@Override
public void performAs(T actor) {
actor.forget(memoryKey);
}
public static Forget theValueOf(String memoryKey) {
return new Forget(memoryKey);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy