public function testValidatorShouldPassIfEveryArrayItemPass() { $v = new Each($this->getRuleMock(true)); $result = $v->check([1, 2, 3, 4, 5]); $this->assertTrue($result); $result = $v->assert([1, 2, 3, 4, 5]); $this->assertTrue($result); }