|  | @@ 41-50 (lines=10) @@ | 
                                                            
                                    | 38 |  |         $this->assertNotEmpty($payment->getFundingInstrument()->boleto); | 
                                                            
                                    | 39 |  |     } | 
                                                            
                                    | 40 |  |  | 
                                                            
                                    | 41 |  |     public function testCreditCardPCIStore() | 
                                                            
                                    | 42 |  |     { | 
                                                            
                                    | 43 |  |         $this->mockHttpSession($this->body_order); | 
                                                            
                                    | 44 |  |         $order = $this->createOrder()->create(); | 
                                                            
                                    | 45 |  |         $cc = '5555666677778884'; | 
                                                            
                                    | 46 |  |         $this->mockHttpSession($this->body_cc_pay_pci_store); | 
                                                            
                                    | 47 |  |         $payment = $order->payments()->setCreditCard(5, 2018, $cc, 123, $this->createCustomer(), false)->execute(); | 
                                                            
                                    | 48 |  |         $this->assertFalse($payment->getFundingInstrument()->creditCard->store); | 
                                                            
                                    | 49 |  |         $this->assertNotEmpty($payment->getId()); | 
                                                            
                                    | 50 |  |     } | 
                                                            
                                    | 51 |  |      | 
                                                            
                                    | 52 |  |     public function testShouldCreateEscrowPaymentWithCreditCard()  | 
                                                            
                                    | 53 |  |     { | 
                                                                                
                                |  | @@ 52-63 (lines=12) @@ | 
                                                            
                                    | 49 |  |         $this->assertNotEmpty($payment->getId()); | 
                                                            
                                    | 50 |  |     } | 
                                                            
                                    | 51 |  |      | 
                                                            
                                    | 52 |  |     public function testShouldCreateEscrowPaymentWithCreditCard()  | 
                                                            
                                    | 53 |  |     { | 
                                                            
                                    | 54 |  |         $this->mockHttpSession($this->body_order); | 
                                                            
                                    | 55 |  |         $order = $this->createOrder()->create(); | 
                                                            
                                    | 56 |  |         $cc = '5555666677778884'; | 
                                                            
                                    | 57 |  |         $this->mockHttpSession($this->body_cc_pay_pci_escrow); | 
                                                            
                                    | 58 |  |         $payment = $order->payments() | 
                                                            
                                    | 59 |  |             ->setCreditCard(5, 2018, $cc, 123, $this->createCustomer(), false) | 
                                                            
                                    | 60 |  |             ->setEscrow('teste de descricao') | 
                                                            
                                    | 61 |  |             ->execute(); | 
                                                            
                                    | 62 |  |         $this->assertEquals('teste de descricao', $payment->getEscrow()->description); | 
                                                            
                                    | 63 |  |     } | 
                                                            
                                    | 64 |  | } | 
                                                            
                                    | 65 |  |  |