@Override
  public RestResponse<KsqlEntityList> makeKsqlRequest(
      final URI serverEndPoint,
      final String sql,
      final Map<String, ?> requestProperties) {
    final KsqlTarget target = sharedClient
        .target(serverEndPoint);

    return getTarget(target)
        .postKsqlRequest(sql, requestProperties, Optional.empty());
  }
@Test
  public void shouldGetRightTraget() {
    // When:
    client.makeKsqlRequest(SERVER_ENDPOINT, "Sql", ImmutableMap.of());

    // Then:
    verify(sharedClient).target(SERVER_ENDPOINT);
  }