1 | <?php |
||
8 | class PartialCacheCollectorTest extends SapphireTest |
||
9 | { |
||
10 | /** |
||
11 | * @var PartialCacheCollector |
||
12 | */ |
||
13 | private $collector; |
||
14 | |||
15 | protected function setUp() |
||
20 | |||
21 | public function testGetName() |
||
25 | |||
26 | /** |
||
27 | * Tests that the tab is returned and that the badge is optional |
||
28 | */ |
||
29 | public function testGetWidgets() |
||
39 | |||
40 | /** |
||
41 | * Tests that an array is returned with specific indexes set |
||
42 | */ |
||
43 | public function testCollect() |
||
49 | |||
50 | /** |
||
51 | * Tests that adding an item to the cache increases its count |
||
52 | */ |
||
53 | public function testAddTemplateCache() |
||
59 | |||
60 | /** |
||
61 | * Tests that the setter works |
||
62 | */ |
||
63 | public function testSetTemplateCache() |
||
68 | } |
||
69 |