### Question:
Accounts implements AccountClient { public void get(final ResponseListener<Account> responseListener, ResponseErrorListener responseErrorListener) { RequestBuilder requestBuilder = new RequestBuilder() .stringRequest(response -> { try { JSONObject jsonObject = new JSONObject(response); responseListener.onResponse(accountJsonSerializer.deserialize(jsonObject)); } catch (JSONException e) { responseErrorListener.onErrorResponse(new ServerException("could not parse response ", e)); } }) .setMethod(Request.Method.GET) .setUrl("/account") .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); } Accounts(RequestExecutor requestExecutor, AccountJsonSerializer accountJsonSerializer); void get(final ResponseListener<Account> responseListener, ResponseErrorListener responseErrorListener);  }### Answer:
@Test public void get() { accountClient.get(null, null); assertTrue(requestExecutor.getRequestBuilder().getUrl().endsWith("/account")); assertEquals(requestExecutor.getRequestBuilder().getMethod(), Request.Method.GET); }