Ejemplo n.º 1
0
 /**
  * Tests whether isValidHost() works as expected.
  *
  * @dataProvider dataProviderTestIsValidHost
  * @return void
  */
 public function testIsValidHost($host, $expectedResult)
 {
     $this->assertSame($expectedResult, Uri::isValidHost($host));
 }