示例#1
0
 public function testVersion()
 {
     $this->socket->expects($this->any())->method('read')->will($this->returnValue('ClamAV 1.2.3'));
     $result = $this->quahog->version();
     $this->assertStringStartsWith('ClamAV', $result);
 }