@dataProvider testIpv6Provider
public function testIpv6($matches, $remoteAddr, $cidr) {
if (!defined('AF_INET6')) {
$this
->markTestSkipped('Only works when PHP is compiled without the option "disable-ipv6".');
}
$this
->assertSame($matches, IpUtils::checkIp($remoteAddr, $cidr));
}