| 1 | <?php |
||
| 12 | class UriPatternsTest extends TestCase |
||
| 13 | { |
||
| 14 | public function testItShouldBeARequestMatcher() |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @dataProvider provideMatchingUris |
||
| 21 | * |
||
| 22 | * @param string $uri |
||
| 23 | */ |
||
| 24 | public function testItShouldAllowUrisThatPassesOneOfTheExpressions($uri) |
||
| 29 | |||
| 30 | public static function provideMatchingUris() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @dataProvider provideNonMatchingUris |
||
| 41 | * |
||
| 42 | * @param string $uri |
||
| 43 | */ |
||
| 44 | public function testItShouldDenyUrisThatPassesNoneOfTheExpressions($uri) |
||
| 49 | |||
| 50 | public static function provideNonMatchingUris() |
||
| 57 | } |
||
| 58 |