/** * @expectedException Apache_Solr_InvalidArgumentException */ public function testSearchWithInvalidMethod() { $fixture = new Apache_Solr_service(); $fixture->search("solr", 0, 10, array(), "INVALID METHOD"); }