예제 #1
0
파일: CardTest.php 프로젝트: dwmsw/sagepay
 public function testCv2Exception()
 {
     $card = new dwmsw\sagepay\Card();
     try {
         $card->setCV2(12345);
     } catch (InvalidArgumentException $e) {
         return;
     }
     $this->fail('Allowed an input that was too long');
 }