/** * */ public function testGraph() { $Repoman = new Repoman(self::$modx, array()); $out = $Repoman->graph('modDocument'); $this->assertTrue($out['type'] == 'document', 'Type attribute should be "document"'); self::$modx->setOption('repoman.dir', dirname(__FILE__) . '/repos/'); $out = $Repoman->graph('Product'); $this->assertTrue(is_array($out['Store']), 'Related objects should be included.'); }