Ejemplo n.º 1
0
 public function testStats()
 {
     $this->socket->expects($this->any())->method('read')->will($this->returnValue('POOLS:'));
     $result = $this->quahog->stats();
     $this->assertStringStartsWith('POOLS:', $result);
 }