Kraken\_Unit\Promise\_Partial\PromiseFulfilledPartial::testApiFailure_CallsThenWithValidArguments_ForFulfilledPromise PHP Method

testApiFailure_CallsThenWithValidArguments_ForFulfilledPromise() public method

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