Annotation Interface WireMock


@Target({FIELD,PARAMETER}) @Retention(RUNTIME) @Deprecated public @interface WireMock
Deprecated.
to avoid naming collision with WireMock, use InjectWireMock instead.
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
    Deprecated.
    The name of WireMock instance to inject.
  • Element Details

    • value

      String value
      Deprecated.
      The name of WireMock instance to inject.
      Returns:
      the name of WireMock instance to inject.