public KsqlTarget target(final URI server) {
    return target(server, Collections.emptyMap());
  }
@Test
  public void shouldNotTrimTrailingZerosOnDecimalDeserialization() {
    // Given:
    server.setResponseBuffer(Buffer.buffer(""
        + "["
        + "{\"row\": {\"columns\": [1.000, 12.100]}}"
        + "]"
    ));

    // When:
    final KsqlTarget target = ksqlClient.target(serverUri);
    RestResponse<List<StreamedRow>> response = target.postQueryRequest(
        "some sql", Collections.emptyMap(), Optional.of(321L));

    // Then:
    assertThat(response.getResponse(), is(ImmutableList.of(
        StreamedRow.pushRow(GenericRow.genericRow(new BigDecimal("1.000"), new BigDecimal("12.100")))
    )));
  }