Annotation Interface InjectWireMock


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

    Required Elements
    Modifier and Type
    Required 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.