integer() public static method

public static integer ( string $methodName = '' ) : mixed
$methodName string model's attribute type trying to match Faker's method name
return mixed
Beispiel #1
0
 public function testIntegerMethod()
 {
     $value = GiiantFaker::integer();
     $this->specify('returned value is integer', function () use($value) {
         expect('value is integer', is_integer($value))->true();
     });
 }