ControlTest::testAnyAllSuccess PHP Method

testAnyAllSuccess() public method

public testAnyAllSuccess ( )
    public function testAnyAllSuccess()
    {
        $r = Co::wait(Co::any([new DummyCurl('A', 3), new DummyCurl('B', 2)]));
        $this->assertEquals('Response[B]', $r);
    }