示例#1
0
 public function testSetPortWithConstructor()
 {
     $newPort = 12345;
     $fixture = new Apache_Solr_Service('locahost', $newPort);
     $port = $fixture->getPort();
     $this->assertEquals($newPort, $port);
 }