### Question:
Videos implements VideoClient, PageLoaderVideos<Video> { public void getStatus(String videoId, ResponseListener<Status> statusResponseListener, ResponseErrorListener responseErrorListener) { RequestBuilder requestBuilder = new RequestBuilder() .stringRequest(response -> { try { JSONObject jsonObject = new JSONObject(response); statusResponseListener.onResponse(statusJsonSerializer.deserialize(jsonObject)); } catch (JSONException e) { responseErrorListener.onErrorResponse(new ServerException("could not parse response ", e)); } }) .setMethod(Request.Method.GET) .setUrl("/videos/" + videoId + "/status") .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); } Videos(RequestExecutor requestExecutor, JsonSerializer<Video> videoJsonSerializer, StatusJsonSerializer statusJsonSerializer, PageJsonSerializer<Video> videoPageJsonSerializer); @RequiresApi(api = Build.VERSION_CODES.KITKAT) void create(Video video, ResponseListener<Video> videoResponseListener, ResponseErrorListener responseErrorListener); @RequiresApi(api = Build.VERSION_CODES.KITKAT) void update(Video video, ResponseListener<Video> videoResponseListener, ResponseErrorListener responseErrorListener); void uploadThumbnail(String videoId, String thumbnailPath, ResponseListener<Video> videoResponseListener, ResponseErrorListener responseErrorListener); void updateThumbnailWithTimeCode(String videoId, String timecode, ResponseListener<Video> videoResponseListener, ResponseErrorListener responseErrorListener); void upload(Video video, String videoPath, ResponseListener<Video> videoResponseListener, ResponseErrorListener responseErrorListener); void upload(String videoPath, ResponseListener<Video> videoResponseListener, ResponseErrorListener responseErrorListener); void get(String videoId, ResponseListener<Video> videoResponseListener, ResponseErrorListener responseErrorListener); void getStatus(String videoId, ResponseListener<Status> statusResponseListener, ResponseErrorListener responseErrorListener); void delete(String videoId, EmptyResponseListener emptyResponseListener, ResponseErrorListener responseErrorListener); Pager<Video> search(PagerBuilder pagerBuilder, VideoFilter videoFilter); Pager<Video> search(VideoFilter videoFilter); Pager<Video> list(PagerBuilder pagerBuilder); Pager<Video> list(); void loadPage(int page, PagerBuilder pagerBuilder, VideoFilter videoFilter, PageResponseListener<Video> listener, ResponseErrorListener responseErrorListener); void delegatedUpload(String token, String videoPath, ResponseListener<Video> videoResponseListener, ResponseErrorListener responseErrorListener);  }### Answer:
@Test public void getStatus() { String videoId = "viSuccess"; videos.getStatus(videoId, null, null); assertTrue(requestExecutor.getRequestBuilder().getUrl().endsWith("/videos/" + videoId + "/status")); assertEquals(requestExecutor.getRequestBuilder().getMethod(), Request.Method.GET); }