You are here

public function ReferenceTest::testCaseInsensitive in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/dependency-injection/Tests/ReferenceTest.php \Symfony\Component\DependencyInjection\Tests\ReferenceTest::testCaseInsensitive()

File

vendor/symfony/dependency-injection/Tests/ReferenceTest.php, line 27

Class

ReferenceTest

Namespace

Symfony\Component\DependencyInjection\Tests

Code

public function testCaseInsensitive() {
  $ref = new Reference('FooBar');
  $this
    ->assertEquals('foobar', (string) $ref, 'the id is lowercased as the container is case insensitive');
}