public function testGetProposedRedirect_None() { $obj = new PWEURL('/', $this->struct); $node1 =& $obj->getNode(); $node1['!a']['test'] = 1; $node2 =& $obj->getNode(); $this->assertEquals(1, $node2['!a']['test']); }
/** * * @return array * @throws HTTP5xxException */ public function &getNode() { if ($this->URL == null) { throw new HTTP5xxException("No URL set to get node"); } return $this->URL->getNode(); }