/** * {@inheritdoc} */ public function testNotify() { parent::testNotify(); $this->innerFailureTest(function (callable $notifyCallback, callable $rejectCallback) { /** @var \Cubiche\Core\Async\Promise\ObservableResolver $resolver */ $resolver = $this->newTestedInstance(null, $rejectCallback, $notifyCallback); $resolver->notify(); }); }
/** * Test notify. */ public function testNotify() { parent::testNotify(); $this->innerFailureTest(function (callable $onNotify) { /** @var \Cubiche\Core\Async\Promise\DoneResolver $resolver */ $resolver = $this->newTestedInstance(null, null, $onNotify); $resolver->notify(); }); }