@dataProvider testIpv4Provider
public function testIpv4($matches, $remoteAddr, $cidr) {
$request = Request::create('', 'get', array(), array(), array(), array(
'REMOTE_ADDR' => $remoteAddr,
));
$matcher = new RequestMatcher();
$matcher
->matchIp($cidr);
$this
->assertEquals($matches, $matcher
->matches($request));
}