You are here

public function DebugClassLoaderTest::testFileCaseMismatch in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/debug/Tests/DebugClassLoaderTest.php \Symfony\Component\Debug\Tests\DebugClassLoaderTest::testFileCaseMismatch()

@expectedException \RuntimeException @expectedExceptionMessage Case mismatch between class and real file names

File

vendor/symfony/debug/Tests/DebugClassLoaderTest.php, line 141

Class

DebugClassLoaderTest

Namespace

Symfony\Component\Debug\Tests

Code

public function testFileCaseMismatch() {
  if (!file_exists(__DIR__ . '/Fixtures/CaseMismatch.php')) {
    $this
      ->markTestSkipped('Can only be run on case insensitive filesystems');
  }
  class_exists(__NAMESPACE__ . '\\Fixtures\\CaseMismatch', true);
}