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

testClassNotHasAttributeFalse() public method

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