Exemple #1
0
 /**
  * Tests whether needsSquareBrackets() works as expected.
  *
  * @dataProvider dataProviderTestNeedsSquareBrackets
  * @return void
  */
 public function testNeedsSquareBrackets($host, $expectedResult)
 {
     $this->assertSame($expectedResult, Uri::needsSquareBrackets($host));
 }