Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | public function testIsValidMethod() |
||
23 | { |
||
24 | $this->assertTrue(RequestMethodMapping::isValidMethod('post')); |
||
25 | $this->assertTrue(RequestMethodMapping::isValidMethod('get')); |
||
26 | |||
27 | $this->assertNotTrue(RequestMethodMapping::isValidMethod('put')); |
||
28 | $this->assertNotTrue(RequestMethodMapping::isValidMethod('delete')); |
||
29 | $this->assertNotTrue(RequestMethodMapping::isValidMethod('update')); |
||
30 | } |
||
32 |