protected function getValidator($options = []) { return $this->getAccessibleMock($this->validatorClassName, ['dummy'], [$options], '', true); }