PHP Class React\Promise\LazyPromiseTest

Inheritance: extends TestCase, use trait PromiseTest\FullTestTrait
Afficher le fichier Open project: reactphp/promise

Méthodes publiques

Méthode Description
getPromiseTestAdapter ( callable $canceller = null )
shouldCallFactoryIfThenIsInvoked ( )
shouldNotCallFactoryIfThenIsNotInvoked ( )
shouldReturnPromiseFromFactory ( )
shouldReturnPromiseIfFactoryReturnsNull ( )
shouldReturnRejectedPromiseIfFactoryThrowsException ( )

Method Details

getPromiseTestAdapter() public méthode

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

shouldCallFactoryIfThenIsInvoked() public méthode

shouldNotCallFactoryIfThenIsNotInvoked() public méthode

shouldReturnPromiseFromFactory() public méthode

shouldReturnPromiseIfFactoryReturnsNull() public méthode

shouldReturnRejectedPromiseIfFactoryThrowsException() public méthode