public function setPhone($value) { $this->setParameter('billingPhone', $value); $this->setParameter('shippingPhone', $value); return $this; }
public function testPhone() { $this->card->setPhone('12345'); $this->assertEquals('12345', $this->card->getPhone()); $this->assertEquals('12345', $this->card->getBillingPhone()); $this->assertEquals('12345', $this->card->getShippingPhone()); }