/** * @expectedException Apache_Solr_InvalidArgumentException */ public function testSetPortWithInvalidArgument() { $fixture = new Apache_Solr_Service(); $fixture->setPort("broken"); }
/** * @expectedException Apache_Solr_InvalidArgumentException */ public function testSetPortWithInvalidArgument() { $fixture = new Apache_Solr_Service(); $fixture->setPort("broken"); }