public testApiCancel_ReturnsCancelledPromise ( ) |
public function testApiCancel_ReturnsCancelledPromise()
{
$deferred = $this->createDeferred();
$test = $this->getTest();
$deferred->getPromise()->cancel()->then(null, null, $test->expectCallableOnce());
}