public testApiDone_ReturnsNull_ForPendingPromise ( ) |
public function testApiDone_ReturnsNull_ForPendingPromise()
{
$deferred = $this->createDeferred();
$test = $this->getTest();
$test->assertNull($deferred->getPromise()->done());
}