Esempio n. 1
0
 /**
  * Test that parseScheme throws an exception in case of invalid input
  * @param  mixed $input
  * @dataProvider notStringInputProvider
  */
 public function testParseSchemeInvalidInput($input)
 {
     $this->setExpectedException('Zend\\Uri\\Exception\\InvalidArgumentException');
     $scheme = Uri::parseScheme($input);
 }