### Question:
InfluxDbClient { public boolean createDatabase() { HttpRequest req = new HttpRequest.Builder() .url(url + "/query") .header("Authorization", authorization) .post("q=CREATE DATABASE " + database) .build(); try { HttpResponse response = httpClient.execute(req); Logger.info("InfluxDbClient create database '" + database + "' response.status=" + response.getStatus()); if (response.getStatus().statusClass() == SUCCESS) { return true; } } catch (IOException e) { Logger.error("InfluxDbClient.createDatabase(): e=" + e.getMessage(), e); } return false; } InfluxDbClient(Builder builder); boolean createDatabase(); boolean writeMetricsAsync(final String content);  }### Answer:
@Test public void testBuildDatabase() { boolean database = influxDbClient.createDatabase(); System.out.println(database); }