Ouzo\Tests\BooleanAssert::that PHP 메소드

that() 공개 정적인 메소드

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

Usage Example

예제 #1
0
파일: Assert.php 프로젝트: letsdrink/ouzo
 /**
  * Fluent custom boolean assertion to simplify your tests.
  *
  * Sample usage:
  * <code>
  *  Assert::thatBool(isCool())->isTrue();
  * </code>
  *
  * @param string $string
  * @return BooleanAssert
  */
 public static function thatBool($string)
 {
     return BooleanAssert::that($string);
 }
All Usage Examples Of Ouzo\Tests\BooleanAssert::that