1 | <?php |
||
16 | class DocumentRepositoryTest extends \PHPUnit_Framework_TestCase |
||
17 | { |
||
18 | /** |
||
19 | * @test |
||
20 | * @expectedException \InvalidArgumentException |
||
21 | */ |
||
22 | public function willFailWhenKeyIsEmpty() |
||
27 | |||
28 | /** |
||
29 | * @test |
||
30 | * @expectedException \KleijnWeb\SwaggerBundle\Document\Exception\ResourceNotReadableException |
||
31 | */ |
||
32 | public function willFailWhenPathDoesNotExist() |
||
37 | |||
38 | /** |
||
39 | * @test |
||
40 | */ |
||
41 | public function gettingDocumentThatDoestExistWillConstructIt() |
||
47 | |||
48 | /** |
||
49 | * @test |
||
50 | */ |
||
51 | public function definitionIsObject() |
||
57 | |||
58 | /** |
||
59 | * @test |
||
60 | */ |
||
61 | public function canUsePathPrefix() |
||
67 | } |
||
68 |