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

testClassNotHasStaticAttributeFalse() public method

    public function testClassNotHasStaticAttributeFalse()
    {
        $class = '\\lithium\\core\\StaticObject';
        $this->assertFalse($this->test->assertClassNotHasStaticAttribute('_methodFilters', $class));
        $results = $this->test->results();
        $result = array_pop($results);
        $this->assertEqual('fail', $result['result']);
        $this->assertEqual(array('expected' => '_methodFilters', 'result' => array(new \ReflectionProperty('lithium\\core\\StaticObject', '_methodFilters'), new \ReflectionProperty('lithium\\core\\StaticObject', '_parents'))), $result['data']);
    }
UnitTest