/** * Test getOptions * * @return void */ public function testGetOptions() { $options = RHelperCurrency::getCurrencyOptions(); $this->assertTrue(is_array($options) && count($options)); }
/** * Method to get the options to populate list * * @return array The field option objects. * * @since 1.0 */ protected function getOptions() { $options = array_merge(parent::getOptions(), RHelperCurrency::getCurrencyOptions()); return $options; }