public function setState($value) { $this->setParameter('billingState', $value); $this->setParameter('shippingState', $value); return $this; }
public function testState() { $this->card->setState('RI'); $this->assertEquals('RI', $this->card->getState()); $this->assertEquals('RI', $this->card->getBillingState()); $this->assertEquals('RI', $this->card->getShippingState()); }