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

testAssertNotInstanceOfFalse() public method

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