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

@@ -13,8 +13,8 @@ class CreditCardTokenTest extends \PHPUnit_Framework_TestCase {
public static function createCreditCardToken() {
$ccToken = new CreditCardToken();
$ccToken->setPayer_id(self::$payerId);
$ccToken->setCredit_card_id(self::$creditCardId);
$ccToken->setPayerId(self::$payerId);
$ccToken->setCreditCardId(self::$creditCardId);
return $ccToken;
}
@@ -23,8 +23,8 @@ class CreditCardTokenTest extends \PHPUnit_Framework_TestCase {
}
public function testGetterSetter() {
$this->assertEquals(self::$payerId, $this->ccToken->getPayer_id());
$this->assertEquals(self::$creditCardId, $this->ccToken->getCredit_card_id());
$this->assertEquals(self::$payerId, $this->ccToken->getPayerId());
$this->assertEquals(self::$creditCardId, $this->ccToken->getCreditCardId());
}
public function testSerializeDeserialize() {