Exemplo n.º 1
0
 /**
  * Tests Valid::alpha_numberic()
  *
  * Checks whether a string consists of alphabetical characters and numbers only.
  *
  * @test
  * @dataProvider provide_alpha_numeric
  * @param string  $input     The string to test
  * @param boolean $expected  Is $input valid
  */
 public function test_alpha_numeric($input, $expected, $utf8 = FALSE)
 {
     $this->assertSame($expected, Valid::alpha_numeric($input, $utf8));
 }