예제 #1
0
 public function testListRecursively()
 {
     $handler = $this->getMock('\\PHPVS\\RuleSet');
     $handler->expects($this->exactly(3))->method('handle');
     RuleSet::filter(['list' => [['email' => "email0"], ['email' => "email1"], ['email' => "email2"]]], ['list' => RuleSet::setupList(['email' => Validator::email()->prepare()])], "", $handler);
 }