/** * Return the pagetitle * * @return string */ public function getPageTitle() { return $this->modx->lexicon('chunk') . ': ' . $this->chunk->get('name'); }
/** * @param string $expected * @param array $properties * @param null|string $content * @dataProvider providerProcess */ public function testProcess($expected, array $properties = array(), $content = null) { $result = $this->chunk->process($properties, $content); $this->assertEquals($expected, $result); }