Esempio n. 1
0
 public function testPasswordNotHasAmountOfNumericChars()
 {
     $password = new Plexity();
     $password->requireNumericChataters(5);
     $this->setExpectedException('Ballen\\Plexity\\Exceptions\\ValidationException', 'The string failed to meet the numeric character requirements.');
     $password->check('An3%a*pl3');
 }