/** * @depends testConnection * @param Client $client */ public function testPing(Client $client) { $sender = new ActionSender($client); $pong = $this->waitFor($sender->ping()); /* @var $pong Response */ }