Class RestAssuredCustomizer
java.lang.Object
org.arquillian.cube.docker.restassured.RestAssuredCustomizer
Class that gets restassured configuration and configures the RestAssured instance accordantly
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(RestAssuredConfiguration restAssuredConfiguration) Method executed before starting a test.voidresetRestAssuredConfiguration(org.jboss.arquillian.core.api.event.ManagerStopping event) Resets RestAssured configuration values to default.
-
Constructor Details
-
RestAssuredCustomizer
public RestAssuredCustomizer()
-
-
Method Details
-
configure
Method executed before starting a test. It is important to do it in this event because in case of incontainer tests or containerless, this is when the mapped container is started and you might need to inspect the automatic port binding.Precedence is set to -100 to execute this after all sarting events.
-
resetRestAssuredConfiguration
public void resetRestAssuredConfiguration(@Observes org.jboss.arquillian.core.api.event.ManagerStopping event) Resets RestAssured configuration values to default.
-