lithium\tests\cases\test\UnitTest::testBaseAssertions PHP Method

testBaseAssertions() public method

public testBaseAssertions ( )
    public function testBaseAssertions()
    {
        $this->test->assert(true);
        $this->test->assert(false);
        $results = $this->test->results();
        $result = array_pop($results);
        $this->assertEqual('fail', $result['result']);
        $this->assertTrue(true);
        $this->assertFalse(false);
    }
UnitTest