public static TestHttpClient testHttpClient(ApplicationUnderTest applicationUnderTest) {
return testHttpClient(applicationUnderTest, null);
}
public static TestHttpClient testHttpClient(ApplicationUnderTest applicationUnderTest, @Nullable Action<? super RequestSpec> requestConfigurer) {
return new DefaultTestHttpClient(applicationUnderTest, Action.noopIfNull(requestConfigurer));
}