CustomHttpConfig customHttpConfig = CustomHttpConfig.builder()
.url("https://reqres.in")
.agent("OkHttp/4.1.0")
.build();
Retrofit retrofit = new VewHttp(customHttpConfig, Arrays.asList("https","password"), true).builder()
.addConverterFactory(GsonConverterFactory.create())
.build();
Response<MultipleResource> single = retrofit.create(API.class)
.doGetListResources()
.toBlocking()
.single();
Assert.assertEquals(200, single.code());