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

testAssertInstanceOfFalse() public method

    public function testAssertInstanceOfFalse()
    {
        $this->assertFalse($this->test->assertInstanceOf('\\ReflectionClass', new \stdClass()));
        $results = $this->test->results();
        $result = array_pop($results);
        $this->assertEqual('fail', $result['result']);
        $this->assertEqual(array('expected' => '\\ReflectionClass', 'result' => 'stdClass'), $result['data']);
    }
UnitTest