Пример #1
0
 public function testSetAndGetAdapterWithInvalidString()
 {
     $adapterClass = '\\stdClass';
     $this->client->setAdapter($adapterClass);
     $this->setExpectedException('Solarium\\Exception\\InvalidArgumentException');
     $this->client->getAdapter();
 }