Repo2\QueryReactor\Tests\Sharding\ShardingControllerTest::createController PHP Method

createController() protected method

protected createController ( array $params )
$params array
    protected function createController(array $params)
    {
        $sharding = $this->getShardingMock();
        $sharding->expects($this->once())->method('selectGlobal')->will($this->returnValue($params));
        return $this->createShardingController($sharding);
    }