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