React\Promise\CancellationQueueTest::ignoresSimpleCancellable PHP Method

ignoresSimpleCancellable() public method

    public function ignoresSimpleCancellable()
    {
        $p = new SimpleTestCancellable();
        $cancellationQueue = new CancellationQueue();
        $cancellationQueue->enqueue($p);
        $cancellationQueue();
        $this->assertFalse($p->cancelCalled);
    }