Class RestAssuredCustomizer

java.lang.Object
org.arquillian.cube.docker.restassured.RestAssuredCustomizer

public class RestAssuredCustomizer extends Object
Class that gets restassured configuration and configures the RestAssured instance accordantly
  • Constructor Details

    • RestAssuredCustomizer

      public RestAssuredCustomizer()
  • Method Details

    • configure

      public void configure(@Observes RestAssuredConfiguration restAssuredConfiguration)
      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.