@Test public void parseClientIpAndPort_skipsRemotePortOnXForwardedFor() {

  when(request.getHeader("X-Forwarded-For")).thenReturn("1.2.3.4");
  when(span.remoteIpAndPort("1.2.3.4", 0)).thenReturn(true);
  adapter.parseClientIpAndPort(request, span);
  verify(span).remoteIpAndPort("1.2.3.4", 0);
  verifyNoMoreInteractions(span);
}