public EndpointResponse getServerMetadata() {
    return EndpointResponse.ok(serverMetadata);
  }
@Test
  public void shouldReturnServerMetadata() {
    // When:
    final EndpointResponse response = serverMetadataResource.getServerMetadata();

    // Then:
    assertThat(response.getStatus(), equalTo(200));
    assertThat(response.getEntity(), instanceOf(ServerMetadata.class));
    final ServerMetadata serverMetadata = (ServerMetadata)response.getEntity();
    assertThat(
        serverMetadata,
        equalTo(new ServerMetadata(
            AppInfo.getVersion(),
            ServerClusterId.of(KAFKA_CLUSTER_ID, KSQL_SERVICE_ID))
        )
    );
  }