We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php |
||
18 | class ReactPromiseAdapterTest extends \PHPUnit_Framework_TestCase |
||
19 | { |
||
20 | /** @var ReactPromiseAdapter */ |
||
21 | private $adapter; |
||
22 | |||
23 | public function setUp() |
||
27 | |||
28 | /** |
||
29 | * @expectedException \InvalidArgumentException |
||
30 | * @expectedExceptionMessage The "Overblog\GraphQLBundle\Executor\Promise\Adapter\ReactPromiseAdapter::wait" method must be call with compatible a Promise. |
||
31 | */ |
||
32 | public function testWaitWithNotSupportedPromise() |
||
37 | |||
38 | /** |
||
39 | * @expectedException \Exception |
||
40 | * @expectedExceptionMessage Promise has been rejected! |
||
41 | */ |
||
42 | public function testWaitRejectedPromise() |
||
47 | |||
48 | public function testWaitAsyncPromise() |
||
72 | } |
||
73 |