public function UrlValidatorTest::testValidUrls

@dataProvider getValidUrls

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/UrlValidatorTest.php, line 62

Class

UrlValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidUrls($url) {
  $this->context
    ->expects($this
    ->never())
    ->method('addViolation');
  $this->validator
    ->validate($url, new Url());
}