GrumPHPTest\Linter\Yaml\YamlLinterTest::it_should_handle_exceptions_on_invalid_type PHP Метод

it_should_handle_exceptions_on_invalid_type() публичный Метод

    function it_should_handle_exceptions_on_invalid_type()
    {
        $this->linter->setObjectSupport(false);
        $this->linter->setExceptionOnInvalidType(true);
        $fixture = YamlLinter::supportsFlags() ? 'object-support.yml' : 'object-support-old.yml';
        $this->validateFixture($fixture, 1);
    }