@Test(expected = PagSeguroLibException.class) public void shouldThrowsErrorLibOnList() throws Exception { when(httpClient.execute(any(HttpMethod.class), anyString(), anyMap(), any(HttpRequestBody.class))).thenThrow(new IOException()); installmentsListResource.list(installmentRequest); }
public DataList<? extends InstallmentDetail> list( Builder<InstallmentRequest> installmentListingBuilder) { return list(installmentListingBuilder.build()); }
InstallmentsListResource { public DataList<? extends InstallmentDetail> list( Builder<InstallmentRequest> installmentListingBuilder) { return list(installmentListingBuilder.build()); } }
InstallmentsListResource { public DataList<? extends InstallmentDetail> list( Builder<InstallmentRequest> installmentListingBuilder) { return list(installmentListingBuilder.build()); } InstallmentsListResource(PagSeguro pagSeguro, HttpClient httpClient); }
InstallmentsListResource { public DataList<? extends InstallmentDetail> list( Builder<InstallmentRequest> installmentListingBuilder) { return list(installmentListingBuilder.build()); } InstallmentsListResource(PagSeguro pagSeguro, HttpClient httpClient); DataList<? extends InstallmentDetail> list(
      Builder<InstallmentRequest> installmentListingBuilder); DataList<? extends InstallmentDetail> list(InstallmentRequest installmentRequest); }
InstallmentsListResource { public DataList<? extends InstallmentDetail> list( Builder<InstallmentRequest> installmentListingBuilder) { return list(installmentListingBuilder.build()); } InstallmentsListResource(PagSeguro pagSeguro, HttpClient httpClient); DataList<? extends InstallmentDetail> list(
      Builder<InstallmentRequest> installmentListingBuilder); DataList<? extends InstallmentDetail> list(InstallmentRequest installmentRequest);  }