public function CandidatesTest::testIsCandidate in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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
Namespace
Symfony\Cmf\Component\Routing\Tests\CandidatesCode
public function testIsCandidate() {
$candidates = new Candidates();
$this
->assertTrue($candidates
->isCandidate('/routes'));
$this
->assertTrue($candidates
->isCandidate('/routes/my/path'));
}