public function testInArray() { $values = [1, 2, '3', null, 'foo']; $good = [1, null, true, false, '', '2', 'foo']; $wrong = ['bah', 4, 1.5]; $this->executeTests(new Validator\InArray($values), $good, $wrong); }