PHP Class Repo2\QueryReactor\Tests\Sharding\ShardingControllerTest

Afficher le fichier Open project: repo2/query-reactor

Méthodes publiques

Méthode Description
testErrorOnUndefinedLink ( )
testPickShardWithEmptyIdKey ( )
testQueriesToTwoShards ( )
testQueryToSingleShard ( )

Méthodes protégées

Méthode Description
createController ( array $params )

Private Methods

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

Method Details

createController() protected méthode

protected createController ( array $params )
$params array

testPickShardWithEmptyIdKey() public méthode

testQueriesToTwoShards() public méthode

testQueryToSingleShard() public méthode