LeKoala\DebugBar\Test\Collector\PartialCacheCollectorTest
Synopsis
class PartialCacheCollectorTest
extends SapphireTest
{
- // members
- private PartialCacheCollector $collector;
- // methods
- protected void setUp()
- public void testGetName()
- public void testGetWidgets()
- public void testCollect()
- public void testAddTemplateCache()
- public void testSetTemplateCache()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
private
- $collector — LeKoala\DebugBar\Collector\PartialCacheCollector
Methods
protected
public
- testAddTemplateCache() — Tests that adding an item to the cache increases its count
- testCollect() — Tests that an array is returned with specific indexes set
- testGetName()
- testGetWidgets() — Tests that the tab is returned and that the badge is optional
- testSetTemplateCache() — Tests that the setter works