File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
main/java/com/vonage/client
test/java/com/vonage/client Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 42
42
* @param <REQ> The request object type that will be used to construct the HTTP request body.
43
43
* @param <RES> The response object type which will be constructed from the returned HTTP response body.
44
44
*
45
- * @see DynamicEndpoint for an abstract implementation which handles the most common use cases.
45
+ * @see DynamicEndpoint for a flexible implementation which handles the most common use cases.
46
46
*/
47
47
public abstract class AbstractMethod <REQ , RES > implements RestEndpoint <REQ , RES > {
48
48
private static final Logger LOGGER = Logger .getLogger (AbstractMethod .class .getName ());
@@ -52,6 +52,9 @@ private static boolean shouldLog() {
52
52
return LOGGER .isLoggable (LOG_LEVEL );
53
53
}
54
54
55
+ /**
56
+ * HTTP client and configuration used by this endpoint.
57
+ */
55
58
private final HttpWrapper httpWrapper ;
56
59
57
60
/**
Original file line number Diff line number Diff line change 32
32
import org .apache .http .message .BasicStatusLine ;
33
33
import static org .junit .jupiter .api .Assertions .*;
34
34
import org .junit .jupiter .api .*;
35
+ import org .junit .jupiter .api .parallel .Execution ;
36
+ import org .junit .jupiter .api .parallel .ExecutionMode ;
35
37
import org .mockito .ArgumentCaptor ;
36
38
import static org .mockito .Mockito .*;
37
39
import java .io .*;
45
47
import java .util .logging .LogManager ;
46
48
import java .util .stream .Collectors ;
47
49
50
+ @ Execution (ExecutionMode .SAME_THREAD )
48
51
public class AbstractMethodTest {
49
52
50
53
static {
You can’t perform that action at this time.
0 commit comments