public function testBillingName() { $this->card->setBillingFirstName('Bob'); $this->card->setBillingLastName('Smith'); $this->assertEquals('Bob Smith', $this->card->getBillingName()); $this->card->setBillingName('John Foo'); $this->assertEquals('John', $this->card->getBillingFirstName()); $this->assertEquals('Foo', $this->card->getBillingLastName()); }