1 | <?php |
||
10 | class RequestTest extends TestCase |
||
11 | { |
||
12 | /** @var Request */ |
||
13 | protected $request; |
||
14 | |||
15 | public function setUp() |
||
20 | |||
21 | /** |
||
22 | * @expectedException InvalidArgumentException |
||
23 | */ |
||
24 | public function testMissingGetPath() |
||
28 | |||
29 | /** |
||
30 | * @expectedException InvalidArgumentException |
||
31 | */ |
||
32 | public function testMissingPostPath() |
||
36 | |||
37 | /** |
||
38 | * @expectedException InvalidArgumentException |
||
39 | */ |
||
40 | public function testMissingPutPath() |
||
44 | |||
45 | /** |
||
46 | * @expectedException InvalidArgumentException |
||
47 | */ |
||
48 | public function testMissingPatchPath() |
||
52 | |||
53 | /** |
||
54 | * @expectedException InvalidArgumentException |
||
55 | */ |
||
56 | public function testMissingDeletePath() |
||
60 | |||
61 | public function testResponseInstance() |
||
66 | |||
67 | public function testBadAuthentication() |
||
76 | |||
77 | public function testSuccessfullGetResponse() |
||
83 | |||
84 | public function testFailedGetResponse() |
||
90 | } |
||
91 |