Kraken\_Unit\Promise\_Partial\FunctionAllPartial::testApiAll_ResolvesPromise_WithEmptyInputArray PHP Метод

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

    public function testApiAll_ResolvesPromise_WithEmptyInputArray()
    {
        $test = $this->getTest();
        $mock = $test->createCallableMock();
        $mock->expects($test->once())->method('__invoke')->with($test->identicalTo([]));
        Promise::all([])->then($mock);
    }