You are here

public function SymfonyFileLocatorTest::testInvalidCustomNamespaceSeparator in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/SymfonyFileLocatorTest.php \Doctrine\Tests\Common\Persistence\Mapping\SymfonyFileLocatorTest::testInvalidCustomNamespaceSeparator()

@expectedException \InvalidArgumentException @expectedExceptionMessage Namespace separator should not be empty

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/SymfonyFileLocatorTest.php, line 69

Class

SymfonyFileLocatorTest

Namespace

Doctrine\Tests\Common\Persistence\Mapping

Code

public function testInvalidCustomNamespaceSeparator() {
  $path = __DIR__ . "/_files";
  $prefix = "Foo";
  new SymfonyFileLocator(array(
    $path => $prefix,
  ), ".yml", null);
}