public function KernelTest::testLocateResourceThrowsExceptionWhenNameIsNotValid

@expectedException \InvalidArgumentException

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/KernelTest.php, line 417

Class

KernelTest

Namespace

Symfony\Component\HttpKernel\Tests

Code

public function testLocateResourceThrowsExceptionWhenNameIsNotValid() {
  $this
    ->getKernelForInvalidLocateResource()
    ->locateResource('Foo');
}