/** * Test: Send ping command * * @covers \Phue\Command\Ping::send */ public function testSend() { // Stub transport's sendRequest usage $this->mockTransport->expects($this->once())->method('sendRequest')->with($this->equalTo('/api/none/config')); $ping = new Ping(); $ping->send($this->mockClient); }