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

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

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