/** * @covers Robo47_View_Helper_Ckeditor::setEditorOptions * @covers Robo47_View_Helper_Ckeditor::getEditorOptions */ public function testSetEditorOptionsGetEditorOptions() { $return = $this->_helper->setEditorOptions('{foo, baa}'); $this->assertSame($this->_helper, $return, 'No Fluent Interface'); $this->assertEquals('{foo, baa}', $this->_helper->getEditorOptions()); $this->_helper->setEditorOptions('{baa, foo}'); $this->assertEquals('{baa, foo}', $this->_helper->getEditorOptions()); }
/** * Clears default options */ public static function unsetDefaultOptions() { self::$_defaultOptions = array(); }