AssetManagerTest\Cache\FilePathCacheTest::testConstruct PHP Method

testConstruct() public method

public testConstruct ( )
    public function testConstruct()
    {
        $cache = new FilePathCache('/imagination', 'bacon.porn');
        $this->assertTrue($cache instanceof CacheInterface);
        $this->assertAttributeEquals('/imagination', 'dir', $cache);
        $this->assertAttributeEquals('bacon.porn', 'filename', $cache);
    }