Functional\Tests\PollTest::testPollReturnsTrue PHP Méthode

testPollReturnsTrue() public méthode

public testPollReturnsTrue ( )
    public function testPollReturnsTrue()
    {
        $this->poller->expects($this->once())->method('poll')->with(0, 0)->willReturn(true);
        $this->assertTrue(poll([$this->poller, 'poll'], 1000));
    }