### Question:
LiveStreams implements LiveStreamClient, PageLoader<LiveStream> { public void delete(final String liveStreamId, EmptyResponseListener emptyResponseListener, ResponseErrorListener responseErrorListener) { RequestBuilder requestBuilder = new RequestBuilder() .stringRequest(response -> emptyResponseListener.onResponse()) .setMethod(Request.Method.DELETE) .setUrl("/live-streams/" + liveStreamId) .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); } LiveStreams(RequestExecutor requestExecutor, LiveStreamJsonSerializer liveStreamJsonSerializer, PageJsonSerializer<LiveStream> livePageJsonSerializer); void create(LiveStream liveStream, ResponseListener<LiveStream> liveResponseListener, ResponseErrorListener responseErrorListener); void update(LiveStream liveStream, ResponseListener<LiveStream> liveResponseListener, ResponseErrorListener responseErrorListener); void uploadThumbnail(final String liveStreamId, String thumbnailPath, ResponseListener<LiveStream> liveResponseListener, ResponseErrorListener responseErrorListener); Pager<LiveStream> list(int pageSize); Pager<LiveStream> list(); void loadPage(int page, int pageSize, PageResponseListener<LiveStream> listener, ResponseErrorListener responseErrorListener); void get(final String liveStreamId, ResponseListener<LiveStream> liveResponseListener, ResponseErrorListener responseErrorListener); void delete(final String liveStreamId, EmptyResponseListener emptyResponseListener, ResponseErrorListener responseErrorListener); void deleteThumbnail(final String liveStreamId, ResponseListener<LiveStream> liveResponseListener, ResponseErrorListener responseErrorListener);  }### Answer:
@Test public void delete() { String liveStreamId = "liveSuccess"; liveStreams.delete(liveStreamId, null, null); assertTrue(requestExecutor.getRequestBuilder().getUrl().endsWith("/live-streams/" + liveStreamId)); assertEquals(requestExecutor.getRequestBuilder().getMethod(), Request.Method.DELETE); }