FunctionalTest::testMonitorPing PHP Method

testMonitorPing() public method

public testMonitorPing ( )
    public function testMonitorPing()
    {
        $client = $this->client;
        $client->on('monitor', $this->expectCallableOnce());
        $client->monitor()->then($this->expectCallableOnce('OK'));
        $client->ping()->then($this->expectCallableOnce('PONG'));
        $this->waitFor($client);
    }