Exemple #1
0
 /**
  * Tests Valid::alpha()
  *
  * Checks whether a string consists of alphabetical characters only.
  *
  * @test
  * @dataProvider provider_alpha
  * @param string  $string
  * @param boolean $expected
  */
 public function test_alpha($string, $expected, $utf8 = FALSE)
 {
     $this->assertSame($expected, Valid::alpha($string, $utf8));
 }