You are here

public function ExpressionRequestMatcherTest::testWhenNoExpressionIsSet in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/ExpressionRequestMatcherTest.php \Symfony\Component\HttpFoundation\Tests\ExpressionRequestMatcherTest::testWhenNoExpressionIsSet()

@expectedException \LogicException

File

vendor/symfony/http-foundation/Tests/ExpressionRequestMatcherTest.php, line 23

Class

ExpressionRequestMatcherTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testWhenNoExpressionIsSet() {
  $expressionRequestMatcher = new ExpressionRequestMatcher();
  $expressionRequestMatcher
    ->matches(new Request());
}