com.eclipsesource.restfuse.internal
Class HttpTestStatement

java.lang.Object
  extended by org.junit.runners.model.Statement
      extended by 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)
           
 
Method Summary
 void evaluate()
           
 Response sendRequest()
           
 void tryInjectResponse(Response response)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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)