| 1 | <?php  | 
            ||
| 10 | class CreateSubscriptionMessageTest extends \PHPUnit_Framework_TestCase  | 
            ||
| 11 | { | 
            ||
| 12 | protected $request = array(  | 
            ||
| 13 | 'notification_type' => 'create_subscription',  | 
            ||
| 14 | 'user' => array(  | 
            ||
| 15 | 'id' => '1234567',  | 
            ||
| 16 | 'name' => 'Xsolla User',  | 
            ||
| 17 | ),  | 
            ||
| 18 | 'subscription' => array(  | 
            ||
| 19 | 'plan_id' => 1,  | 
            ||
| 20 | 'subscription_id' => '10',  | 
            ||
| 21 | 'product_id' => 'Demo Product',  | 
            ||
| 22 | 'date_create' => '2014-09-22T19:25:25+04:00',  | 
            ||
| 23 | 'date_next_charge' => '2015-01-22T19:25:25+04:00',  | 
            ||
| 24 | 'trial' => array(  | 
            ||
| 25 | 'value' => 90,  | 
            ||
| 26 | 'type' => 'day',  | 
            ||
| 27 | ),  | 
            ||
| 28 | ),  | 
            ||
| 29 | 'coupon' => array(  | 
            ||
| 30 | 'coupon_code' => 'ICvj45S4FUOyy',  | 
            ||
| 31 | 'campaign_code' => '1507',  | 
            ||
| 32 | ),  | 
            ||
| 33 | );  | 
            ||
| 34 | |||
| 35 | public function test()  | 
            ||
| 41 | }  | 
            ||
| 42 |