Example #1
0
 /**
  * Retrieve delimiter
  *
  * @return string
  */
 public function getDelimiter()
 {
     if ($this->getData('delimiter')) {
         return $this->getData('delimiter');
     } else {
         return $this->_salesRuleCoupon->getCodeSeparator();
     }
 }
Example #2
0
 public function testGetSeparator()
 {
     $this->assertEquals($this->separator, $this->helper->getCodeSeparator());
 }