/** * Return the pagetitle * * @return string */ public function getPageTitle() { return $this->modx->lexicon('chunk') . ': ' . $this->chunk->get('name'); }
/** * @param string $content * @dataProvider providerSetContent * @depends testGetContent */ public function testSetContent($content) { $this->chunk->setContent($content); $this->assertEquals($content, $this->chunk->get('snippet')); }