schmunk42\giiant\helpers\GiiantFaker::boolean PHP Method

boolean() public static method

public static boolean ( ) : mixed
return mixed
    public static function boolean()
    {
        return self::value(self::TYPE_BOOLEAN);
    }

Usage Example

Beispiel #1
0
 public function testBooleanMethod()
 {
     $value = GiiantFaker::boolean();
     $this->specify('returned value is boolean', function () use($value) {
         expect('value is boolean', is_bool($value))->true();
     });
 }