Ouzo\Tests\GeneralAssert::that PHP Метод

that() публичный статический Метод

public static that ( $actual )
    public static function that($actual)
    {
        return new GeneralAssert($actual);
    }

Usage Example

Пример #1
0
 /**
  * Fluent custom primitives' and objects' assertion to simplify your tests.
  *
  * Sample usage:
  * <code>
  *  Assert::that($object)->isInstanceOf(Controller::class);
  * </code>
  *
  * @param mixed $subject
  * @return GeneralAssert
  */
 public static function that($subject)
 {
     return GeneralAssert::that($subject);
 }
All Usage Examples Of Ouzo\Tests\GeneralAssert::that