### Question:
AnalyticsVideo implements AnalyticsVideoClient, PageLoaderAnalytic<AnalyticVideo> { public void getVideoAnalytics(String videoId, String period, ResponseListener<AnalyticVideo> analyticsVideoResponseListener, ResponseErrorListener responseErrorListener) { RequestBuilder requestBuilder = new RequestBuilder() .stringRequest(response -> { try { JSONObject jsonObject = new JSONObject(response); analyticsVideoResponseListener.onResponse(analyticVideoJsonSerializer.deserialize(jsonObject)); } catch (JSONException e) { e.printStackTrace(); responseErrorListener.onErrorResponse(new ServerException("could not parse response ", e)); } }) .setMethod(com.android.volley.Request.Method.GET) .setUrl("/analytics/videos/" + videoId + "?period=" + period) .setErrorListener(error -> { if (error.networkResponse.statusCode >= 500) { responseErrorListener.onErrorResponse(new ServerException("ServerException " + error.networkResponse.statusCode, error)); } else if (error.networkResponse.statusCode >= 400) { responseErrorListener.onErrorResponse(new ClientException("ClientException " + error.networkResponse.statusCode, error)); } }); requestExecutor.execute(requestBuilder); } AnalyticsVideo(RequestExecutor requestExecutor, AnalyticVideoJsonSerializer analyticVideoJsonSerializer, PageJsonSerializer<AnalyticVideo> analyticVideoPageJsonSerializer); void getVideoAnalytics(String videoId, String period, ResponseListener<AnalyticVideo> analyticsVideoResponseListener, ResponseErrorListener responseErrorListener); Pager<AnalyticVideo> search(String period, PagerBuilder pagerBuilder, AnalyticsFilter analyticsFilter); Pager<AnalyticVideo> search(String period, AnalyticsFilter analyticsFilter); Pager<AnalyticVideo> list(String period, PagerBuilder pagerBuilder); Pager<AnalyticVideo> list(String period); void loadPageOfProjectAnalytics(String period, int page, PagerBuilder pagerBuilder, AnalyticsFilter analyticsFilter, PageResponseListener<AnalyticVideo> listener, ResponseErrorListener responseErrorListener);  }### Answer:
@Test public void getVideoAnalytics() { String videoId = "viSuccess"; String period = "2019-01-01"; analyticsVideo.getVideoAnalytics(videoId, period, null, null); assertTrue(requestExecutor.getRequestBuilder().getUrl().endsWith("/analytics/videos/" + videoId + "?period=" + period)); assertEquals(requestExecutor.getRequestBuilder().getMethod(), Request.Method.GET); }