public static InetAddress getRemoteAddress() {
    return REMOTE_ADDRESS_CONTEXT_KEY.get();
  }
@Test
  void getRemoteAddress() {
    when(clientConnectionManager.getRemoteAddress(any()))
        .thenReturn(Optional.empty());

    GrpcTestUtils.assertStatusException(Status.INTERNAL, this::getRequestAttributes);

    final String remoteAddressString = "6.7.8.9";

    when(clientConnectionManager.getRemoteAddress(any()))
        .thenReturn(Optional.of(InetAddresses.forString(remoteAddressString)));

    assertEquals(remoteAddressString, getRequestAttributes().getRemoteAddress());
  }