@Test void coercesZeroPortToNull() {
    Endpoint endpoint = Endpoint.newBuilder().port(0).build();

    assertThat(endpoint.port())
      .isNull();
  }
Catches common error when zero is passed instead of null for a port
zipkin/src/test/java/zipkin2/EndpointTest.java