@@ -44,14 +44,19 @@ public function setGetTest()
4444 $ sample = array (
4545 'client ' => 'client_88a388d9dd48f86c3136 ' ,
4646 'offer ' => 'offer_40237e20a7d5a231d99b ' ,
47- 'payment ' => 'pay_95ba26ba2c613ebb0ca8 '
47+ 'payment ' => 'pay_95ba26ba2c613ebb0ca8 ' ,
48+ 'mandate_reference ' => 'DE1234TEST ' ,
4849 );
4950
50- $ this ->_subscription ->setPayment ($ sample ['payment ' ])->setOffer ($ sample ['offer ' ])->setClient ($ sample ['client ' ]);
51+ $ this ->_subscription ->setPayment ($ sample ['payment ' ])
52+ ->setOffer ($ sample ['offer ' ])
53+ ->setClient ($ sample ['client ' ])
54+ ->setMandateReference ($ sample ['mandate_reference ' ]);
5155
5256 $ this ->assertEquals ($ this ->_subscription ->getClient (), $ sample ['client ' ]);
5357 $ this ->assertEquals ($ this ->_subscription ->getOffer (), $ sample ['offer ' ]);
5458 $ this ->assertEquals ($ this ->_subscription ->getPayment (), $ sample ['payment ' ]);
59+ $ this ->assertEquals ($ this ->_subscription ->getMandateReference (), $ sample ['mandate_reference ' ]);
5560
5661 return $ this ->_subscription ;
5762 }
@@ -73,7 +78,8 @@ public function parameterizeTest($subscription)
7378 $ this ->assertEquals (array (
7479 'client ' => 'client_88a388d9dd48f86c3136 ' ,
7580 'offer ' => 'offer_40237e20a7d5a231d99b ' ,
76- 'payment ' => 'pay_95ba26ba2c613ebb0ca8 '
81+ 'payment ' => 'pay_95ba26ba2c613ebb0ca8 ' ,
82+ 'mandate_reference ' => 'DE1234TEST '
7783 ), $ creationArray );
7884
7985 $ this ->assertEquals ($ getOneArray , array (
@@ -82,7 +88,8 @@ public function parameterizeTest($subscription)
8288 ));
8389 $ this ->assertEquals ($ updateArray , array (
8490 'offer ' => 'offer_40237e20a7d5a231d99b ' ,
85- 'payment ' => 'pay_95ba26ba2c613ebb0ca8 '
91+ 'payment ' => 'pay_95ba26ba2c613ebb0ca8 ' ,
92+ 'mandate_reference ' => 'DE1234TEST '
8693 ));
8794 }
8895
0 commit comments