Пример #1
0
 public function testConfigMode()
 {
     $options = array('host' => '192.168.0.1', 'port' => 123, 'path' => '/mysolr/', 'core' => 'mycore', 'timeout' => 3, 'username' => 'x', 'password' => 'y');
     $this->endpoint->setOptions($options);
     $options['path'] = '/mysolr';
     //expected trimming of trailing slash
     $this->assertEquals($options, $this->endpoint->getOptions());
 }