### Question:
DabAccountInformationService extends BaseAccountInformationService { @Override public Response<TransactionsResponse200Json> getTransactionList(String accountId, RequestHeaders requestHeaders, RequestParams requestParams) { return getTransactionList(accountId, requestHeaders, requestParams, DabTransactionsResponse200Json.class, mapper::toTransactionsResponse200Json); } DabAccountInformationService(Aspsp aspsp, HttpClient httpClient, LinksRewriter linksRewriter); @Override Response<TransactionsResponse200Json> getTransactionList(String accountId,
                                                                    RequestHeaders requestHeaders,
                                                                    RequestParams requestParams); @Override Response<OK200TransactionDetails> getTransactionDetails(String accountId,
                                                                   String transactionId,
                                                                   RequestHeaders requestHeaders,
                                                                   RequestParams requestParams);  }### Answer:
@Test void getTransactionListCanDeserializeRemittanceInformationUnstructuredOfTypeString() { Mockito.doAnswer(invocationOnMock -> { HttpClient.ResponseHandler responseHandler = invocationOnMock.getArgument(1, HttpClient.ResponseHandler.class); String rawResponse = "{\n" + " \"transactions\": {\n" + " \"booked\": [\n" + " {\n" + " \"remittanceInformationStructured\": \"remittanceInformationStructuredStringValue\"\n" + " }\n" + " ]\n" + " }\n" + "}"; return new Response<>(200, responseHandler.apply(200, new ByteArrayInputStream(rawResponse.getBytes()), ResponseHeaders.fromMap(singletonMap("Content-Type", "application/json"))), null); }).when(httpClient).send(Mockito.any(), Mockito.any()); Response<TransactionsResponse200Json> response = service.getTransactionList(null, RequestHeaders.empty(), RequestParams.empty()); RemittanceInformationStructured remittanceInformationStructured = response.getBody() .getTransactions() .getBooked() .get(0) .getRemittanceInformationStructured(); assertThat(remittanceInformationStructured.getReference()) .isEqualTo("remittanceInformationStructuredStringValue"); }