use of com.eclipsesource.restfuse.internal.HttpTestStatement in project restfuse by eclipsesource.
the class Destination method apply.
@Override
public /**
* <p><b>Not meant for public use. This method will be invoked by the JUnit framework.</b></p>
*/
Statement apply(Statement base, Description description) {
Statement result;
if (hasAnnotation(description)) {
requestStatement = new HttpTestStatement(base, description, testObject, baseUrl, proxyHost, proxyPort, context);
result = requestStatement;
} else {
result = base;
}
return result;
}
Aggregations