Kraken\_Unit\Promise\_Partial\PromiseRejectedPartial::testApiAbort_CallsThenWithValidArguments_ForRejectedPromise PHP Method

testApiAbort_CallsThenWithValidArguments_ForRejectedPromise() public method

    public function testApiAbort_CallsThenWithValidArguments_ForRejectedPromise()
    {
        $test = $this->getTest();
        $callable = function () {
        };
        $promise = $this->createPromiseMock(['then']);
        $promise->expects($test->once())->method('then')->with(null, null, $callable);
        $promise->abort($callable);
    }
PromiseRejectedPartial