ControlTest::testAnyAllSuccess PHP Méthode

testAnyAllSuccess() public méthode

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