public function testApiRetryOrReset_ResetsWhenExceptionIsTaskIncomplete()
{
$req = $this->createRequest($name = 'name', $mssg = 'secret', [], ['send']);
$ex = new TaskIncompleteException();
$promise = new Promise();
$req->expects($this->once())->method('send')->with($promise);
$this->callProtectedMethod($req, 'retryOrReset', [$promise, $ex]);
}