You are here

public function RequestMatcherTest::testMethodFixtures in Zircon Profile 8

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

File

vendor/symfony/http-foundation/Tests/RequestMatcherTest.php, line 34

Class

RequestMatcherTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testMethodFixtures() {
  return array(
    array(
      'get',
      'get',
      true,
    ),
    array(
      'get',
      array(
        'get',
        'post',
      ),
      true,
    ),
    array(
      'get',
      'post',
      false,
    ),
    array(
      'get',
      'GET',
      true,
    ),
    array(
      'get',
      array(
        'GET',
        'POST',
      ),
      true,
    ),
    array(
      'get',
      'POST',
      false,
    ),
  );
}