### Question:
ClusterRestClient extends RestClient implements ClusterClient { @Override public ClusterStatusResponse getClusterStatus(String clusterId) throws IOException { return getSingle(resolveURL(String.format("/clusters/%s/status", clusterId)), ClusterStatusResponse.class); } ClusterRestClient(Supplier<RestClientConnectionConfig> config, CloseableHttpClient httpClient);  ClusterRestClient(Supplier<RestClientConnectionConfig> config, CloseableHttpClient httpClient, Gson gson); @Override List<ClusterSummary> getClusters(); @Override ClusterDetails getCluster(String clusterId); @Override void deleteCluster(String clusterId); @Override void deleteCluster(String clusterId, ClusterOperationRequest clusterOperationRequest); @Override String createCluster(ClusterCreateRequest clusterCreateRequest); @Override ClusterStatusResponse getClusterStatus(String clusterId); @Override JsonObject getClusterConfig(String clusterId); @Override void setClusterConfig(String clusterId, ClusterConfigureRequest clusterConfigureRequest); @Override List<String> getClusterServices(String clusterId); @Override void syncClusterTemplate(String clusterId); @Override void setClusterExpireTime(String clusterId, long expireTime); @Override void startServiceOnCluster(String clusterId, String serviceId); @Override void startServiceOnCluster(String clusterId, String serviceId,
                                    ClusterOperationRequest clusterOperationRequest); @Override void stopServiceOnCluster(String clusterId, String serviceId); @Override void stopServiceOnCluster(String clusterId, String serviceId, ClusterOperationRequest clusterOperationRequest); @Override void restartServiceOnCluster(String clusterId, String serviceId); @Override void restartServiceOnCluster(String clusterId, String serviceId,
                                      ClusterOperationRequest clusterOperationRequest); @Override void addServicesOnCluster(String clusterId, AddServicesRequest addServicesRequest);  }### Answer:
@Test public void testGetClusterStatusUnauthorized() throws IOException { clientManager = createClientManager(TestStatusUserId.UNAUTHORIZED_STATUS_USER_ID.getValue()); clusterClient = clientManager.getClusterClient(); try { clusterClient.getClusterStatus(TEST_CLUSTER_ID); Assert.fail("Expected UnauthorizedAccessTokenException"); } catch (UnauthorizedAccessTokenException ignored) { } }