PHP Class React\Promise\PromiseTest

Inheritance: extends TestCase, use trait PromiseTest\FullTestTrait
Show file Open project: reactphp/promise

Public Methods

Method Description
getPromiseTestAdapter ( callable $canceller = null )
shouldFulfillIfFullfilledWithSimplePromise ( )
shouldRejectIfRejectedWithSimplePromise ( )
shouldRejectIfResolverThrowsException ( )

Method Details

getPromiseTestAdapter() public method

public getPromiseTestAdapter ( callable $canceller = null )
$canceller callable

shouldFulfillIfFullfilledWithSimplePromise() public method

shouldRejectIfRejectedWithSimplePromise() public method

shouldRejectIfResolverThrowsException() public method