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()); }
public function getModule() { return Module::getInstance(); }