public function testPaymentMethods()
 {
     $this->object->setPaymentMethods($this->testString);
     $this->assertSame($this->testString, $this->object->getPaymentMethods());
     $this->object->setPaymentMethods(function () {
         return $this->testString;
     });
     $this->assertSame($this->testString, $this->object->getPaymentMethods());
 }
Beispiel #2
0
 public function getModule()
 {
     return Module::getInstance();
 }