/** * @covers StdLib\Validator\OptionsExtractor::getAllSanitize * @dataProvider sanitizeProvider */ public function testAllSanitized($key, $value) { $this->applyValidationConfig(); $optionExtractor = new OptionsExtractor($this->config, $this->router); $result = $optionExtractor->getAllSanitize(); $this->assertEquals($result[0][$key], $value); $this->assertCount(3, $result[0]); }