You are here

public function CandidatesTest::testIsCandidate in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony-cmf/routing/Tests/Candidates/CandidatesTest.php \Symfony\Cmf\Component\Routing\Tests\Candidates\CandidatesTest::testIsCandidate()

Everything is a candidate

File

vendor/symfony-cmf/routing/Tests/Candidates/CandidatesTest.php, line 22

Class

CandidatesTest

Namespace

Symfony\Cmf\Component\Routing\Tests\Candidates

Code

public function testIsCandidate() {
  $candidates = new Candidates();
  $this
    ->assertTrue($candidates
    ->isCandidate('/routes'));
  $this
    ->assertTrue($candidates
    ->isCandidate('/routes/my/path'));
}