Class WireMockContextCustomizer

java.lang.Object
com.maciejwalkowiak.wiremock.spring.WireMockContextCustomizer
All Implemented Interfaces:
org.springframework.test.context.ContextCustomizer

public class WireMockContextCustomizer extends Object implements org.springframework.test.context.ContextCustomizer
Attaches properties with urls pointing to WireMockServer instances to the Spring Environment.
Author:
Maciej Walkowiak
  • Constructor Details

  • Method Details

    • customizeContext

      public void customizeContext(org.springframework.context.ConfigurableApplicationContext context, org.springframework.test.context.MergedContextConfiguration mergedConfig)
      Specified by:
      customizeContext in interface org.springframework.test.context.ContextCustomizer
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object