Annotation Type WebServerTest
-
@Test @Target(METHOD) @Retention(RUNTIME) @Documented public @interface WebServerTest
A type ofTestwhich callsMockWebServer.enqueue(MockResponse)and creates aMockResponsewith the annotation data.- Since:
- 1.0.0
-
-
Element Detail
-
value
String[] value
This accepts one or more response values. They will be #enqueued in the order that they are given in the array.- Returns:
- All response bodies for the test.
-
-