public static function number($methodName = '') { $val = self::provider(self::TYPE_NUMBER, $methodName); return $val === null ? self::value(self::TYPE_NUMBER) : $val; }
public function testNumberMethod() { $value = GiiantFaker::number(); $this->specify('returned value is float', function () use($value) { expect('value is float', is_float($value))->true(); }); }