Class WireMockVerifyHelper<T,​S extends WireMockVerifyHelper<T,​S>>

    • Constructor Detail

      • WireMockVerifyHelper

        public WireMockVerifyHelper()
    • Method Detail

      • stub

        @Deprecated
        public S stub​(String name)
        Deprecated.
        in favour of explicitly calling andDo(document(name))
        Parameters:
        name - the stub name (ignored)
        Returns:
        this
      • configure

        public void configure​(T result)
      • getWireMockRequest

        protected abstract com.github.tomakehurst.wiremock.http.Request getWireMockRequest​(T result)
      • getContentType

        protected abstract org.springframework.http.MediaType getContentType​(T result)
      • getRequestBodyContent

        protected abstract byte[] getRequestBodyContent​(T result)
      • getResponseDefinition

        protected abstract com.github.tomakehurst.wiremock.client.ResponseDefinitionBuilder getResponseDefinition​(T result)
      • getConfiguration

        protected abstract Map<String,​Object> getConfiguration​(T result)
      • wiremock

        public S wiremock​(com.github.tomakehurst.wiremock.client.MappingBuilder builder)
      • jsonPath

        public S jsonPath​(String expression,
                          Object... args)
      • contentType

        public S contentType​(org.springframework.http.MediaType contentType)