Bolt\Tests\Controller\Backend\DatabaseTest::getMockSchemaManager PHP Method

getMockSchemaManager() protected method

protected getMockSchemaManager ( array $methods ) : Manager | PHPUnit_Framework_MockObject_MockObject
$methods array
return Bolt\Storage\Database\Schema\Manager | PHPUnit_Framework_MockObject_MockObject
    protected function getMockSchemaManager(array $methods)
    {
        return $this->getMockBuilder(Manager::class)->setMethods($methods)->setConstructorArgs([$this->getApp()])->getMock();
    }