public function testResolveReference() { $array = array('a' => array('b' => array('c' => array('d' => 123)))); $object = new ArrayObject($array); $this->assertEquals(123, $this->loader->resolveReference('a.b.c.d', $array)); $this->assertEquals(123, $this->loader->resolveReference('a.b.c.d', $object)); }