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

net.serenitybdd.screenplay.Forget Maven / Gradle / Ivy

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