Exemple #1
0
 /**
  * @expectedException \InvalidArgumentException
  * @expectedExceptionMessage Digits must be at least 1.
  */
 public function testDigitsIsNot1OrMore()
 {
     $otp = new HOTP();
     $otp->setDigits(-500);
 }