/** * @todo Implement testSetGenerator(). */ public function testSetGenerator() { $this->object = new JDocument; $this->object->setGenerator('Joomla Content Management'); $this->assertThat( $this->object->_generator, $this->equalTo('Joomla Content Management') ); }
/** * Test... * * @return void */ public function testGetGenerator() { $this->object->setGenerator('Joomla Content Management'); $this->assertThat($this->object->getGenerator(), $this->equalTo('Joomla Content Management')); }
/** * @testdox Test that setGenerator returns an instance of $this */ public function testEnsureSetGeneratorReturnsThisObject() { $this->assertSame($this->object, $this->object->setGenerator('Joomla! Content Management System')); }