1 | <?php |
||
13 | class OblistCollectionTest extends ZorkTest |
||
14 | { |
||
15 | /** |
||
16 | * Tests Itafroma\Zork\OblistCollection::create(). |
||
17 | * |
||
18 | * @covers Itafroma\Zork\State\OblistCollection::create |
||
19 | * @dataProvider oblistCollectionProvider |
||
20 | */ |
||
21 | public function testCreateOblist($oblist_collection, $name) |
||
28 | |||
29 | /** |
||
30 | * Tests Itafroma\Zork\State\OblistCollection::get() when the oblist exists. |
||
31 | * |
||
32 | * @covers Itafroma\Zork\State\OblistCollection::get |
||
33 | * @dataProvider oblistCollectionProvider |
||
34 | */ |
||
35 | public function testGetOblistExists($oblist_collection, $name, $oblist) |
||
41 | |||
42 | /** |
||
43 | * Tests Itafroma\Zork\State\OblistCollection::get() when the oblist does not exist. |
||
44 | * |
||
45 | * @covers Itafroma\Zork\State\OblistCollection::get |
||
46 | * @dataProvider oblistCollectionProvider |
||
47 | */ |
||
48 | public function testGetOblistDoesNotExist($oblist_collection, $name) |
||
52 | |||
53 | /** |
||
54 | * Provides data for testing oblist collections. |
||
55 | */ |
||
56 | public function oblistCollectionProvider() |
||
62 | } |
||
63 |