@Test public void requestClientInfoInvalidToken() throws Exception { showTitle("requestClientInfoInvalidToken"); ClientInfoClient clientInfoClient = new ClientInfoClient(clientInfoEndpoint); ClientInfoResponse response = clientInfoClient.execClientInfo("INVALID-TOKEN"); showClient(clientInfoClient); assertEquals(response.getStatus(), 400, "Unexpected response code: " + response.getStatus()); assertNotNull(response.getErrorType(), "Unexpected result: errorType not found"); assertNotNull(response.getErrorDescription(), "Unexpected result: errorDescription not found"); } }
@Test public void requestClientInfoInvalidRequest() throws Exception { showTitle("requestClientInfoInvalidRequest"); ClientInfoClient clientInfoClient = new ClientInfoClient(clientInfoEndpoint); ClientInfoResponse response = clientInfoClient.execClientInfo(null); showClient(clientInfoClient); assertEquals(response.getStatus(), 400, "Unexpected response code: " + response.getStatus()); assertNotNull(response.getErrorType(), "Unexpected result: errorType not found"); assertNotNull(response.getErrorDescription(), "Unexpected result: errorDescription not found"); }
ClientInfoClient clientInfoClient = new ClientInfoClient(clientInfoEndpoint); ClientInfoResponse clientInfoResponse = clientInfoClient.execClientInfo(accessToken);
ClientInfoClient clientInfoClient = new ClientInfoClient(clientInfoEndpoint); ClientInfoResponse response2 = clientInfoClient.execClientInfo(accessToken);
ClientInfoClient clientInfoClient = new ClientInfoClient(clientInfoEndpoint); ClientInfoResponse clientInfoResponse = clientInfoClient.execClientInfo(accessToken);
ClientInfoClient clientInfoClient = new ClientInfoClient(clientInfoEndpoint); ClientInfoResponse clientInfoResponse = clientInfoClient.execClientInfo(accessToken);
ClientInfoClient clientInfoClient = new ClientInfoClient(clientInfoEndpoint); ClientInfoResponse clientInfoResponse = clientInfoClient.execClientInfo(accessToken);
ClientInfoClient clientInfoClient = new ClientInfoClient(clientInfoEndpoint); ClientInfoResponse clientInfoResponse = clientInfoClient.execClientInfo(accessToken);
ClientInfoClient clientInfoClient = new ClientInfoClient(clientInfoEndpoint); ClientInfoResponse clientInfoResponse = clientInfoClient.execClientInfo(accessToken);
ClientInfoClient clientInfoClient = new ClientInfoClient(clientInfoEndpoint); ClientInfoResponse clientInfoResponse = clientInfoClient.execClientInfo(accessToken);
ClientInfoClient clientInfoClient = new ClientInfoClient(clientInfoEndpoint); ClientInfoResponse clientInfoResponse = clientInfoClient.execClientInfo(accessToken);
ClientInfoClient clientInfoClient = new ClientInfoClient(clientInfoEndpoint); ClientInfoResponse clientInfoResponse = clientInfoClient.execClientInfo(accessToken);
ClientInfoClient clientInfoClient = new ClientInfoClient(clientInfoEndpoint); ClientInfoResponse clientInfoResponse = clientInfoClient.execClientInfo(accessToken);
ClientInfoClient clientInfoClient = new ClientInfoClient(clientInfoEndpoint); ClientInfoResponse clientInfoResponse = clientInfoClient.execClientInfo(accessToken);
ClientInfoClient clientInfoClient = new ClientInfoClient(clientInfoEndpoint); ClientInfoResponse clientInfoResponse = clientInfoClient.execClientInfo(accessToken);
ClientInfoClient clientInfoClient = new ClientInfoClient(clientInfoEndpoint); ClientInfoResponse clientInfoResponse = clientInfoClient.execClientInfo(accessToken);