PHP Class Repo2\QueryReactor\Tests\ControllerTestCase

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: repo2/query-reactor

Protected Properties

Property Type Description
$reactor Repo2\QueryReactor\Reactor

Public Methods

Method Description
setUp ( )
tearDown ( )
testEmptySelect ( )
testParallelSelect ( )
testRejectOnResultError ( )
testSelectWithIteratorCascading ( )
testSelectWithQueryCascading ( )
testSingleInsert ( )

Protected Methods

Method Description
createController ( array $params ) : Repo2\QueryReactor\Controller
createReactor ( Repo2\QueryReactor\Controller $controller ) : Reactor
getQueryMock ( Repo2\QueryBuilder\ExpressionInterface $expression, $queryClass = '\Repo2\QueryReactor\Query' )
queryAwait ( Repo2\QueryReactor\Query $query )

Method Details

createController() abstract protected method

abstract protected createController ( array $params ) : Repo2\QueryReactor\Controller
$params array
return Repo2\QueryReactor\Controller

createReactor() protected method

protected createReactor ( Repo2\QueryReactor\Controller $controller ) : Reactor
$controller Repo2\QueryReactor\Controller
return Repo2\QueryReactor\Reactor

getQueryMock() protected method

protected getQueryMock ( Repo2\QueryBuilder\ExpressionInterface $expression, $queryClass = '\Repo2\QueryReactor\Query' )
$expression Repo2\QueryBuilder\ExpressionInterface

queryAwait() protected method

protected queryAwait ( Repo2\QueryReactor\Query $query )
$query Repo2\QueryReactor\Query

setUp() public method

public setUp ( )

tearDown() public method

public tearDown ( )

testEmptySelect() public method

public testEmptySelect ( )

testParallelSelect() public method

public testParallelSelect ( )

testRejectOnResultError() public method

testSelectWithIteratorCascading() public method

testSelectWithQueryCascading() public method

testSingleInsert() public method

public testSingleInsert ( )

Property Details

$reactor protected property

protected Reactor,Repo2\QueryReactor $reactor
return Repo2\QueryReactor\Reactor