Annotation Interface InjectClient
Marker annotation for
ClientSupport spock test field. Extra annotation
required to remove uncertainty and apply some context (avoid confusion why it works).
Note that such annotation is not required for junit 5 version because there client may be injected as parameter
(so this is only a special fix for spock tests to support the same client object).
Example usage: @InjectClient ClientSupport client
Must be used on static, shared or regular fields. When used on not
ClientSupport field, error will be thrown.
- Since:
- 26.05.2020