public function testSetPathWillAddContainingSlashes() { $newPath = "new/path"; $containedPath = "/{$newPath}/"; $fixture = new Apache_Solr_Service(); $fixture->setPath($newPath); $path = $fixture->getPath(); $this->assertEquals($containedPath, $path, 'setPath did not ensure propertly wrapped with slashes'); }