You are here

public function LintCommandTest::testLintFileNotReadable in Lockr 7.3

@expectedException \RuntimeException

File

vendor/symfony/yaml/Tests/Command/LintCommandTest.php, line 84

Class

LintCommandTest
Tests the YamlLintCommand.

Namespace

Symfony\Component\Yaml\Tests\Command

Code

public function testLintFileNotReadable() {
  $tester = $this
    ->createCommandTester();
  $filename = $this
    ->createFile('');
  unlink($filename);
  $ret = $tester
    ->execute([
    'filename' => $filename,
  ], [
    'decorated' => false,
  ]);
}