public function testSanitizeCustomCallableFilterIp()
{
$this->specify("callable filter does not return correct IP", function () {
$filter = new Filter();
$filter->add('ipv4', [$this, 'ipv4callback']);
expect($filter->sanitize('127.0.0.1', 'ipv4'))->equals('127.0.0.1');
});
}