public function testApiDoCancel_ReturnsPromise() { $test = $this->getTest(); $test->assertInstanceOf(PromiseInterface::class, Promise::doCancel(1)); }