spec\Coduo\TuTu\Config\Loader\YamlLoaderSpec::it_throws_exception_when_invalid_responses_yaml_path PHP Метод

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

    function it_throws_exception_when_invalid_responses_yaml_path()
    {
        $notExistingFilePath = dirname($this->responsesYaml . '/this_file_does_not_exists');
        $expectedMessage = sprintf("File \"%s\" does not exist.", $notExistingFilePath);
        $this->shouldThrow(new \InvalidArgumentException($expectedMessage))->during('__construct', [$notExistingFilePath]);
    }