lithium\tests\cases\test\UnitTest::testClassHasStaticAttributeFalse PHP Метод

testClassHasStaticAttributeFalse() публичный Метод

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