Since: 2.2.0
Author: Henry Ruhs
Author: Sven Weingartner
Inheritance: implements Redaxscript\Validator\ValidatorInterface
Example #1
0
 /**
  * testDns
  *
  * @since 2.2.0
  *
  * @param string $host
  * @param string $type
  * @param integer $expect
  *
  * @dataProvider providerDns
  */
 public function testDns($host = null, $type = null, $expect = null)
 {
     /* setup */
     $validator = new Validator\Dns();
     /* actual */
     $actual = $validator->validate($host, $type);
     /* compare */
     $this->assertEquals($expect, $actual);
 }