### Question:
KsqlRestClient implements Closeable, AutoCloseable { public RestResponse<CommandStatuses> makeStatusRequest() { Response response = makeGetRequest("status"); CommandStatuses result = response.readEntity(CommandStatuses.class); response.close(); return RestResponse.successful(result); } KsqlRestClient(final String serverAddress);  KsqlRestClient(final String serverAddress, final Properties properties);  KsqlRestClient(String serverAddress, Map<String, Object> localProperties);   KsqlRestClient(Client client, String serverAddress); void setupAuthenticationCredentials(String userName, String password); boolean hasUserCredentials(); String getServerAddress(); void setServerAddress(String serverAddress); RestResponse<ServerInfo> makeRootRequest(); RestResponse<ServerInfo> getServerInfo(); RestResponse<T> makeRequest(String path, Class<T> type); RestResponse<KsqlEntityList> makeKsqlRequest(String ksql); RestResponse<CommandStatuses> makeStatusRequest(); RestResponse<CommandStatus> makeStatusRequest(String commandId); RestResponse<QueryStream> makeQueryRequest(String ksql); RestResponse<InputStream> makePrintTopicRequest(
      String ksql
  ); @Override void close(); Map<String, Object> getLocalProperties(); Object setProperty(String property, Object value); boolean unsetProperty(String property);  }### Answer:
@Test public void testStatus() { RestResponse<CommandStatuses> commandStatusesRestResponse = ksqlRestClient.makeStatusRequest(); Assert.assertNotNull(commandStatusesRestResponse); Assert.assertTrue(commandStatusesRestResponse.isSuccessful()); CommandStatuses commandStatuses = commandStatusesRestResponse.getResponse(); Assert.assertTrue(commandStatuses.size() == 2); Assert.assertTrue(commandStatuses.get(new CommandId(CommandId.Type.TOPIC, "c1", CommandId.Action.CREATE)) == CommandStatus.Status.SUCCESS); Assert.assertTrue(commandStatuses.get(new CommandId(CommandId.Type.TOPIC, "c2", CommandId.Action.CREATE)) == CommandStatus.Status.ERROR); }