PHP Trait React\Promise\PromiseTest\PromiseSettledTestTrait

Datei anzeigen Open project: reactphp/promise

Public Methods

Method Description
alwaysShouldReturnAPromiseForSettledPromise ( )
cancelShouldHaveNoEffectForSettledPromise ( )
cancelShouldReturnNullForSettledPromise ( )
doneShouldReturnAllowNullForSettledPromise ( )
doneShouldReturnNullForSettledPromise ( )
getPromiseTestAdapter ( callable $canceller = null ) : React\Promise\PromiseAdapter\PromiseAdapterInterface
thenShouldReturnAPromiseForSettledPromise ( )
thenShouldReturnAllowNullForSettledPromise ( )

Method Details

alwaysShouldReturnAPromiseForSettledPromise() public method

cancelShouldHaveNoEffectForSettledPromise() public method

cancelShouldReturnNullForSettledPromise() public method

doneShouldReturnAllowNullForSettledPromise() public method

doneShouldReturnNullForSettledPromise() public method

getPromiseTestAdapter() abstract public method

abstract public getPromiseTestAdapter ( callable $canceller = null ) : React\Promise\PromiseAdapter\PromiseAdapterInterface
$canceller callable
return React\Promise\PromiseAdapter\PromiseAdapterInterface

thenShouldReturnAPromiseForSettledPromise() public method

thenShouldReturnAllowNullForSettledPromise() public method