lithium\tests\mocks\core\MockObjectForParents::parents PHP Method

parents() public static method

public static parents ( )
    public static function parents()
    {
        return static::_parents();
    }

Usage Example

Example #1
0
 public function testParents()
 {
     $expected = array('lithium\\core\\Object' => 'lithium\\core\\Object');
     $result = MockObjectForParents::parents();
     $this->assertEqual($expected, $result);
     // For caching
     $result = MockObjectForParents::parents();
     $this->assertEqual($expected, $result);
 }
MockObjectForParents