示例#1
0
 public function testSetPathWithConstructor()
 {
     $newPath = "/new/path/";
     $fixture = new Apache_Solr_Service('localhost', 8180, $newPath);
     $path = $fixture->getPath();
     $this->assertEquals($newPath, $path);
 }