Example #1
0
 /**
  * @expectedException Apache_Solr_InvalidArgumentException
  */
 public function testExtractFromStringWithInvalidParams()
 {
     $extractFileData = "does not matter what it is";
     // set a mock transport
     $mockTransport = $this->getMockHttpTransportInterface();
     $fixture = new Apache_Solr_Service();
     $fixture->setHttpTransport($mockTransport);
     $fixture->extractFromString($extractFileData, "invalid");
 }