/** * @expectedException phpRack_Exception */ public function testRegexWithoutUrlCall() { $this->_package->regex('/google\\.com/'); }