1 | <?php |
||
18 | class ApiTestCaseTest extends WebTestCase |
||
19 | { |
||
20 | use ApiTestCase; |
||
21 | |||
22 | /** |
||
23 | * Use config_basic.yml |
||
24 | * |
||
25 | * @var bool |
||
26 | */ |
||
27 | protected $env = 'basic'; |
||
28 | |||
29 | public static function setUpBeforeClass() |
||
33 | |||
34 | /** |
||
35 | * @test |
||
36 | * @expectedException \KleijnWeb\SwaggerBundle\Test\ApiResponseErrorException |
||
37 | */ |
||
38 | public function notFoundApiCallThrowsException() |
||
42 | |||
43 | /** |
||
44 | * @test |
||
45 | * @expectedException \KleijnWeb\SwaggerBundle\Test\ApiResponseErrorException |
||
46 | * @expectedExceptionCode 405 |
||
47 | */ |
||
48 | public function methodNotSupportedReturnsMethodNotAllowed() |
||
53 | } |
||
54 |