예제 #1
0
파일: BaseTest.php 프로젝트: nottavi/Faker
 public function testRandomDigitReturnsDigit()
 {
     $this->assertTrue(BaseProvider::randomDigit() >= 0);
     $this->assertTrue(BaseProvider::randomDigit() < 10);
 }
예제 #2
0
파일: BaseTest.php 프로젝트: ruudk/Faker
 public static function randomDigit()
 {
     return parent::randomDigit();
 }