Example #1
0
 public function testGetBuildNotationCode()
 {
     $this->_model->setMethod('payflow_direct');
     $this->_model->setStoreId(123);
     $this->_scopeConfig->expects($this->once())->method('getValue')->with('paypal/bncode', ScopeInterface::SCOPE_STORE, 123)->will($this->returnValue('some BN code'));
     $this->assertEquals('some BN code', $this->_model->getBuildNotationCode());
 }
Example #2
0
 /**
  * BN code getter
  *
  * @return string
  */
 public function getBuildNotationCode()
 {
     return $this->_config->getBuildNotationCode();
 }