/**
* @test
*/
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);
}