/** * Tests the getters and setters of the model * @test */ public function setGetTest() { $this->assertEquals($this->_billingAddress->getName(), $this->sample['name']); $this->assertEquals($this->_billingAddress->getStreetAddress(), $this->sample['street_address']); $this->assertEquals($this->_billingAddress->getStreetAddressAddition(), $this->sample['street_address_addition']); $this->assertEquals($this->_billingAddress->getCity(), $this->sample['city']); $this->assertEquals($this->_billingAddress->getState(), $this->sample['state']); $this->assertEquals($this->_billingAddress->getPostalCode(), $this->sample['postal_code']); $this->assertEquals($this->_billingAddress->getCountry(), $this->sample['country']); $this->assertEquals($this->_billingAddress->getPhone(), $this->sample['phone']); return $this->_billingAddress; }