@Test
public void testWhenNoXForwardedForHeaderUseClientIp() {

  final String clientIp = "127.0.0.1:10000";
  final Map<String, String> headers = new HashMap<>();
  final String ip = WebUtils.getRealClientIpAddr(headers, clientIp);
  assertEquals(ip, "127.0.0.1");
}