FluentRequest { public FluentRequest scheme(String scheme) { uri.scheme(scheme); return this; } @Inject  FluentRequest(); static FluentRequest http(); FluentRequest host(String host); FluentRequest scheme(String scheme); FluentRequest path(String path); FluentRequest param(String name, String value); FluentRequest header(String name, String value); FluentRequest config(String name, Object value); FluentRequest context(Context context); FluentResponse get(); FluentResponse post(); FluentResponse postWithMultiPart(); FluentResponse putWithMultiPart(); FluentResponse delete(); void addPhotoToMultiPart(MultipartEntity multipartEntity, String param, String model); void reset(); String getBaseUrl(Context context); int getConnectionTimeout(Context context);  }
@Test public void testScheme() throws IOException { Robolectric.addHttpResponseRule("https: assertThat(http().host("https: assertThat(http().host("example.com").scheme("https").get(), equalTo(response)); }