public void Ipv4OverIpv6(string expectedIp, int expectedPort, string[] ips)
        {
            var ip = IpExtractor.GetRealIpFromValues(ips, false);

            Assert.Equal(expectedIp, ip.IpAddress);
            Assert.Equal(expectedPort, ip.Port);
        }
        public void ExtractAddressAndPort(string expectedIp, int expectedPort, string ip, int defaultport)
        {
            var result = IpExtractor.ExtractAddressAndPort(ip, defaultPort: defaultport);

            Assert.Equal(expectedIp, result.IpAddress);
            Assert.Equal(expectedPort, result.Port);
        }
        public void Ipv4PublicDetectedLocalIgnoredIfPublic(string expectedIp, int expectedPort, string[] ips)
        {
            var ip = IpExtractor.GetRealIpFromValues(ips, false);

            Assert.Equal(expectedIp, ip.IpAddress);
            Assert.Equal(expectedPort, ip.Port);
        }