com.eclipsesource.restfuse.internal
Class HttpTestStatement
java.lang.Object
org.junit.runners.model.Statement
com.eclipsesource.restfuse.internal.HttpTestStatement
public class HttpTestStatement
- extends org.junit.runners.model.Statement
Constructor Summary |
HttpTestStatement(org.junit.runners.model.Statement base,
org.junit.runner.Description description,
java.lang.Object target,
java.lang.String baseUrl,
java.lang.String proxyHost,
int proxyPort,
RequestContext context)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpTestStatement
public HttpTestStatement(org.junit.runners.model.Statement base,
org.junit.runner.Description description,
java.lang.Object target,
java.lang.String baseUrl,
java.lang.String proxyHost,
int proxyPort,
RequestContext context)
evaluate
public void evaluate()
throws java.lang.Throwable
- Specified by:
evaluate
in class org.junit.runners.model.Statement
- Throws:
java.lang.Throwable
sendRequest
public Response sendRequest()
tryInjectResponse
public void tryInjectResponse(Response response)