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

testClassHasAttributeFalse() public method

    public function testClassHasAttributeFalse()
    {
        $this->assertFalse($this->test->assertClassHasAttribute('foo', '\\ReflectionClass'));
        $results = $this->test->results();
        $result = array_pop($results);
        $this->assertEqual('fail', $result['result']);
        $this->assertEqual(array('expected' => 'foo', 'result' => array(new \ReflectionProperty('ReflectionClass', 'name'))), $result['data']);
    }
UnitTest