### Question:
OffersClientRest extends BaseClientRest implements OffersClient { @Override public void getOfferEdit(OfferEditGetRequest offerEditGetRequest, StreamObserver<OfferEdit> offerEditObserver) { String url = buildSportsUrl(offerEditGetRequest.resourcePath()); getRequest(url, offerEditGetRequest, offerEditObserver, new OfferEditReader()); } OffersClientRest(ConnectionManager connectionManager); @Override void getOffer(OfferGetRequest offerGetRequest, StreamObserver<Offer> offerObserver); @Override void getOffers(OffersGetRequest offersGetRequest, StreamObserver<Offer> offersObserver); @Override void getOfferEdit(OfferEditGetRequest offerEditGetRequest, StreamObserver<OfferEdit> offerEditObserver); @Override void getOfferEdits(OfferEditsGetRequest offerEditsGetRequest, StreamObserver<OfferEdit> offerEditsObserver); @Override void getPositions(PositionsRequest positionsRequest, StreamObserver<Position> positionsRequestObserver); @Override void getAggregatedMatchedBets(AggregatedMatchedBetsRequest aggregatedMatchedBetsRequest,
            StreamObserver<AggregatedMatchedBet> aggregatedMatchedBetsObserver); @Override void getCancelledMatchedBets(CancelledMatchedBetsRequest cancelledMatchedBetsRequest,
            StreamObserver<MatchedBet> cancelledMatchedBetsObserver); @Override void submitOffers(OffersPostRequest offersPostRequest, StreamObserver<Offer> offersObserver); @Override void editOffer(OfferPutRequest offerPutRequest, StreamObserver<Offer> offerObserver); @Override void editOffers(OffersPutRequest offersPutRequest, StreamObserver<Offer> offersObserver); @Override void cancelOffer(OfferDeleteRequest offerDeleteRequest, StreamObserver<Offer> offerObserver); @Override void cancelOffers(OffersDeleteRequest offersDeleteRequest, StreamObserver<Offer> offersObserver);  }### Answer:
@Test @DisplayName("GET offer edit") void getOfferEditTest() { when(connectionManager.getHttpClient()).thenReturn(httpClient); OfferEditGetRequest offerEditRequest = mock(OfferEditGetRequest.class); when(offerEditRequest.resourcePath()).thenReturn("path/42"); when(offerEditRequest.parameters()).thenReturn(Collections.emptyMap()); StreamObserver<OfferEdit> streamObserver = (StreamObserver<OfferEdit>) mock(StreamObserver.class); unit.getOfferEdit(offerEditRequest, streamObserver); verify(httpClient).get(eq("https: }