### Question:
Players implements PlayerClient, PageLoader<Player> { public void delete(String playerId, EmptyResponseListener emptyResponseListener, ResponseErrorListener responseErrorListener) { RequestBuilder requestBuilder = new RequestBuilder() .stringRequest(response -> emptyResponseListener.onResponse()) .setMethod(Request.Method.DELETE) .setUrl("/players/" + playerId) .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); } Players(RequestExecutor requestExecutor, PlayerJsonSerializer playerJsonSerializer, PageJsonSerializer<Player> playerPageJsonSerializer); void create(Player player, ResponseListener<Player> playerResponseListener, ResponseErrorListener responseErrorListener); void update(Player player, ResponseListener<Player> playerResponseListener, ResponseErrorListener responseErrorListener); void get(String playerId, ResponseListener<Player> playerResponseListener, ResponseErrorListener responseErrorListener); void delete(String playerId, EmptyResponseListener emptyResponseListener, ResponseErrorListener responseErrorListener); Pager<Player> list(int pageSize); Pager<Player> list(); void loadPage(int page, int pageSize, PageResponseListener<Player> listener, ResponseErrorListener responseErrorListener); void uploadLogo(String playerId, String logoPath, String link, ResponseListener<Player> playerResponseListener, ResponseErrorListener responseErrorListener);  }### Answer:
@Test public void delete() { String playerId = "playSuccess"; players.delete(playerId, null, null); assertTrue(requestExecutor.getRequestBuilder().getUrl().endsWith("/players/" + playerId)); assertEquals(requestExecutor.getRequestBuilder().getMethod(), Request.Method.DELETE); }