PHP Class Repo2\QueryReactor\Tests\Sharding\ShardingControllerTest

Show file Open project: repo2/query-reactor

Public Methods

Method Description
testErrorOnUndefinedLink ( )
testPickShardWithEmptyIdKey ( )
testQueriesToTwoShards ( )
testQueryToSingleShard ( )

Protected Methods

Method Description
createController ( array $params )

Private Methods

Method Description
createShardingController ( Repo2\QueryReactor\Sharding\ShardingService $sharding )
getShardedQueryMock ( Repo2\QueryBuilder\ExpressionInterface $expr )
getShardingMock ( )

Method Details

createController() protected method

protected createController ( array $params )
$params array

testPickShardWithEmptyIdKey() public method

testQueriesToTwoShards() public method

testQueryToSingleShard() public method