PHPUnit_Framework_Assert::assertNotFalse PHP Method

assertNotFalse() public static method

Asserts that a condition is not false.
public static assertNotFalse ( boolean $condition, string $message = '' )
$condition boolean
$message string
    public static function assertNotFalse($condition, $message = '')
    {
        static::assertThat($condition, static::logicalNot(static::isFalse()), $message);
    }

Usage Example

Esempio n. 1
0
 public function toBeFalse()
 {
     if ($this->negate) {
         a::assertNotFalse($this->actual);
     } else {
         a::assertFalse($this->actual);
     }
 }
All Usage Examples Of PHPUnit_Framework_Assert::assertNotFalse
PHPUnit_Framework_Assert