### Question:
KsqlRestClient implements Closeable, AutoCloseable { public RestResponse<KsqlEntityList> makeKsqlRequest(String ksql) { KsqlRequest jsonRequest = new KsqlRequest(ksql, localProperties); Response response = makePostRequest("ksql", jsonRequest); try { if (response.getStatus() == Response.Status.OK.getStatusCode()) { return RestResponse.successful(response.readEntity(KsqlEntityList.class)); } else { return RestResponse.erroneous(response.readEntity(KsqlErrorMessage.class)); } } finally { response.close(); } } 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 testKsqlResource() { RestResponse<KsqlEntityList> results = ksqlRestClient.makeKsqlRequest("Test request"); Assert.assertNotNull(results); Assert.assertTrue(results.isSuccessful()); KsqlEntityList ksqlEntityList = results.getResponse(); Assert.assertTrue(ksqlEntityList.size() == 1); Assert.assertTrue(ksqlEntityList.get(0) instanceof ExecutionPlan); }