testcases updated

updated testcases to match new json schema
and updates with camel case function names
This commit is contained in:
Ganesh Hegde
2013-05-28 10:08:34 +05:30
parent 125a7b66f3
commit 50b09bdbde
22 changed files with 179 additions and 197 deletions

View File

@@ -23,10 +23,9 @@ class AddressTest extends \PHPUnit_Framework_TestCase {
$addr->setLine2(self::$line2);
$addr->setCity(self::$city);
$addr->setState(self::$state);
$addr->setPostal_code(self::$postalCode);
$addr->setCountry_code(self::$countryCode);
$addr->setPostalCode(self::$postalCode);
$addr->setCountryCode(self::$countryCode);
$addr->setPhone(self::$phone);
$addr->setType(self::$type);
return $addr;
}
@@ -39,10 +38,9 @@ class AddressTest extends \PHPUnit_Framework_TestCase {
$this->assertEquals(self::$line2, $this->address->getLine2());
$this->assertEquals(self::$city, $this->address->getCity());
$this->assertEquals(self::$state, $this->address->getState());
$this->assertEquals(self::$postalCode, $this->address->getPostal_code());
$this->assertEquals(self::$countryCode, $this->address->getCountry_code());
$this->assertEquals(self::$postalCode, $this->address->getPostalCode());
$this->assertEquals(self::$countryCode, $this->address->getCountryCode());
$this->assertEquals(self::$phone, $this->address->getPhone());
$this->assertEquals(self::$type, $this->address->getType());
}
public function testSerializeDeserialize() {