1 | <?php |
||
12 | class OblistTest extends ZorkTest |
||
13 | { |
||
14 | /** |
||
15 | * Tests Itafroma\Zork|State\Oblist::create() when the atom does not exist. |
||
16 | * |
||
17 | * @covers Itafroma\Zork\State\Oblist::create |
||
18 | * @dataProvider oblistPropertyProvider |
||
19 | */ |
||
20 | public function testCreateAtomDoesNotExist($oblist, $property_name) |
||
26 | |||
27 | /** |
||
28 | * Tests Itafroma\Zork|State\Oblist::create() when the atom already exists. |
||
29 | * |
||
30 | * @covers Itafroma\Zork\State\Oblist::create |
||
31 | * @dataProvider oblistPropertyProvider |
||
32 | */ |
||
33 | public function testCreateAtomExists($oblist, $property_name, $property_value) |
||
40 | |||
41 | /** |
||
42 | * Tests Itafroma\Zork\State\Oblist::get() when the requested object exists. |
||
43 | * |
||
44 | * @covers Itafroma\Zork\State\Oblist::get |
||
45 | * @dataProvider oblistPropertyProvider |
||
46 | */ |
||
47 | public function testGetObjectExists($oblist, $property_name, $property_value) |
||
53 | |||
54 | /** |
||
55 | * Tests Itafroma\Zork\State\Oblist::get() when the requested object does not exist. |
||
56 | * |
||
57 | * @covers Itafroma\Zork\State\Oblist::get |
||
58 | * @dataProvider oblistPropertyProvider |
||
59 | */ |
||
60 | public function testGetObjectDoesNotExist($oblist, $property_name) |
||
64 | |||
65 | /** |
||
66 | * Provides an oblist with a test property and value. |
||
67 | */ |
||
68 | public function oblistPropertyProvider() |
||
78 | } |
||
79 |