/** * Test * * @return void */ public function testRender() { Registry::get('Application')->getRequest()->getUri()->setPath($this->documentChildren->getEditUrl()); $collection = new DocumentCollection(); $collection->load(0); $array = array_merge(array($collection), array('test' => 'value')); $this->assertTrue(strlen($this->object->render($array)) > 0); }
/** * Test * * @return void */ public function testGetEditUrl() { $this->assertInternalType('string', $this->object->getEditUrl()); }