Kraken\_Unit\Promise\_Partial\PromiseCancelledPartial::testApiFailure_CallsThenWithValidArguments_ForCancelledPromise PHP Метод

testApiFailure_CallsThenWithValidArguments_ForCancelledPromise() публичный Метод

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