/**
  * Get payable to from config
  *
  * @return string
  */
 protected function getPayableTo()
 {
     return $this->method->getPayableTo();
 }
Ejemplo n.º 2
0
 public function testGetPayableTo()
 {
     $this->_object->setStore(1);
     $this->_scopeConfig->expects($this->once())->method('getValue')->with('payment/checkmo/payable_to', 'store', 1)->willReturn('payable');
     $this->assertEquals('payable', $this->_object->getPayableTo());
 }