Annotation Interface InjectWireMock


@Target({FIELD,PARAMETER}) @Retention(RUNTIME) public @interface InjectWireMock
Injects WireMock instance previously configured on the class or field level with ConfigureWireMock.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The name of WireMock instance to inject.
  • Element Details

    • value

      String value
      The name of WireMock instance to inject.
      Returns:
      the name of WireMock instance to inject.
      Default:
      "wiremock"