1 | <?php |
||
11 | class HooksTest extends FlexiBeeRWTest |
||
12 | { |
||
13 | /** |
||
14 | * @var Hooks |
||
15 | */ |
||
16 | protected $object; |
||
17 | |||
18 | /** |
||
19 | * Changes API enabler/disabler |
||
20 | * @var Changes |
||
21 | */ |
||
22 | protected $changes; |
||
23 | |||
24 | /** |
||
25 | * Sets up the fixture, for example, opens a network connection. |
||
26 | * This method is called before a test is executed. |
||
27 | */ |
||
28 | protected function setUp() |
||
32 | |||
33 | /** |
||
34 | * @covers FlexiPeeHP\Hooks::register |
||
35 | */ |
||
36 | public function testRegister() |
||
46 | |||
47 | /** |
||
48 | * @covers FlexiPeeHP\Hooks::getFlexiData |
||
49 | * @depends testRegister |
||
50 | */ |
||
51 | public function testGetFlexiData() |
||
57 | |||
58 | /** |
||
59 | * @covers FlexiPeeHP\Hooks::recordExists |
||
60 | * @depends testRegister |
||
61 | */ |
||
62 | public function testRecordExists() |
||
66 | |||
67 | /** |
||
68 | * @covers FlexiPeeHP\Hooks::unregister |
||
69 | * @depends testRegister |
||
70 | */ |
||
71 | public function testUnregister() |
||
76 | |||
77 | /** |
||
78 | * Disable ChangesAPI |
||
79 | */ |
||
80 | protected function tearDown() |
||
84 | |||
85 | } |
||
86 |