You are here

public function ReferenceTest::testCaseInsensitive in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/ReferenceTest.php \Symfony\Component\DependencyInjection\Tests\ReferenceTest::testCaseInsensitive()

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/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');
}