net.serenitybdd.rest.event.RecordRestQueryEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serenity-rest-assured Show documentation
Show all versions of serenity-rest-assured Show documentation
Serenity RestAssured integration
package net.serenitybdd.rest.event;
import net.serenitybdd.model.rest.RestQuery;
import net.thucydides.core.steps.events.StepEventBusEventBase;
public class RecordRestQueryEvent extends StepEventBusEventBase {
RestQuery restQuery;
public RecordRestQueryEvent(RestQuery restQuery) {
this.restQuery = restQuery;
}
@Override
public void play() {
getStepEventBus().getBaseStepListener().recordRestQuery(restQuery);
}
public String toString() {
return("EventBusEvent RECORD_REST_QUERY_EVENT " + restQuery);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy