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

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

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