Kraken\_Unit\Promise\PromiseFulfilledTest::testApiConstructor_ThrowsException_IfConstructedWithPromise PHP Метод

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

    public function testApiConstructor_ThrowsException_IfConstructedWithPromise()
    {
        $this->setExpectedException(InvalidArgumentException::class);
        $promise = new PromiseFulfilled(new PromiseFulfilled());
    }