1 | <?php declare(strict_types = 1); |
||
17 | class SwaggerSpecificationTest extends \PHPUnit_Framework_TestCase |
||
18 | { |
||
19 | /** |
||
20 | * @test |
||
21 | */ |
||
22 | public function canGetPathDefinitions() |
||
33 | |||
34 | /** |
||
35 | * @test |
||
36 | */ |
||
37 | public function canGetResourceTypeDefinition() |
||
44 | |||
45 | /** |
||
46 | * @test |
||
47 | * @expectedException \InvalidArgumentException |
||
48 | */ |
||
49 | public function canFailToGetResourceTypeDefinition() |
||
53 | |||
54 | /** |
||
55 | * @test |
||
56 | */ |
||
57 | public function getOperationDefinition() |
||
67 | |||
68 | /** |
||
69 | * @test |
||
70 | */ |
||
71 | public function getOperationDefinitionHttpMethodIsCaseInsensitive() |
||
75 | |||
76 | /** |
||
77 | * @expectedException \InvalidArgumentException |
||
78 | * @test |
||
79 | */ |
||
80 | public function getOperationDefinitionWillFailOnUnknownHttpMethod() |
||
84 | |||
85 | /** |
||
86 | * @expectedException \InvalidArgumentException |
||
87 | * @test |
||
88 | */ |
||
89 | public function getOperationDefinitionWillFailOnUnknownPath() |
||
93 | |||
94 | /** |
||
95 | * @return Specification |
||
96 | */ |
||
97 | public static function getPetStoreDocument() |
||
103 | } |
||
104 |
This method has been deprecated.