Bolt\Tests\BoltUnitTest::getMockStorage PHP Метод

getMockStorage() защищенный Метод

protected getMockStorage ( array $methods = ['getContent', 'getContentType', 'getTaxonomyType'] ) : Storage | PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject
$methods array
Результат Bolt\Legacy\Storage | PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject
    protected function getMockStorage($methods = ['getContent', 'getContentType', 'getTaxonomyType'])
    {
        return $this->getMockBuilder(Storage::class)->setMethods($methods)->setConstructorArgs([$this->getApp()])->getMock();
    }