### Question:
ReceiptRepositoryOkHttpImpl extends AbstractRepositoryOkHttpImpl implements ReceiptRepository { @Override public Observable<Page<MosaicResolutionStatement>> searchMosaicResolutionStatements( ResolutionStatementSearchCriteria criteria) { BigInteger height = criteria.getHeight(); Integer pageSize = criteria.getPageSize(); Integer pageNumber = criteria.getPageNumber(); String offset = criteria.getOffset(); Order order = toDto(criteria.getOrder()); Callable<ResolutionStatementPage> callback = () -> getClient() .searchMosaicResolutionStatements(height, pageSize, pageNumber, offset, order); return exceptionHandling( call(callback) .map( page -> this.toPage( page.getPagination(), page.getData().stream() .map(mapper::createMosaicResolutionStatementFromDto) .collect(Collectors.toList())))); } ReceiptRepositoryOkHttpImpl(ApiClient apiClient); @Override Observable<Page<TransactionStatement>> searchReceipts(
      TransactionStatementSearchCriteria criteria); @Override Observable<Page<AddressResolutionStatement>> searchAddressResolutionStatements(
      ResolutionStatementSearchCriteria criteria); @Override Observable<Page<MosaicResolutionStatement>> searchMosaicResolutionStatements(
      ResolutionStatementSearchCriteria criteria); ReceiptRoutesApi getClient();  }### Answer:
@Test public void searchMosaicResolutionStatements() throws Exception { ResolutionStatementDTO statement2 = new ResolutionStatementDTO(); ResolutionStatementInfoDTO mosaicResolutionStatement = new ResolutionStatementInfoDTO(); mosaicResolutionStatement.setStatement(statement2); statement2.setUnresolved("9"); statement2.setHeight(BigInteger.valueOf(7L)); mockRemoteCall(toPage(mosaicResolutionStatement)); BigInteger height = BigInteger.valueOf(10L); List<MosaicResolutionStatement> mosaicResolutionStatements = repository .searchMosaicResolutionStatements( new ResolutionStatementSearchCriteria().height(height)) .toFuture() .get() .getData(); Assertions.assertEquals(1, mosaicResolutionStatements.size()); Assertions.assertEquals(BigInteger.valueOf(7L), mosaicResolutionStatements.get(0).getHeight()); Assertions.assertEquals( BigInteger.valueOf(9L), mosaicResolutionStatements.get(0).getUnresolved().getId()); }