public class MockProxyServer
extends org.junit.rules.ExternalResource
| Modifier and Type | Field and Description |
|---|---|
static String |
PROXY_HOST |
| Constructor and Description |
|---|
MockProxyServer() |
MockProxyServer(int port) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
after() |
protected void |
before() |
static String |
getPathToCertificate(Class<?> clazz,
String resourceName) |
int |
getPort() |
MockProxyServer |
mockResponse(MockServerResponse mockServerResponse) |
public static final String PROXY_HOST
public MockProxyServer()
public MockProxyServer(int port)
protected void before()
throws Throwable
before in class org.junit.rules.ExternalResourceThrowablepublic MockProxyServer mockResponse(MockServerResponse mockServerResponse)
protected void after()
after in class org.junit.rules.ExternalResourcepublic int getPort()
Copyright © 2018 Atlassian. All rights reserved.