예제 #1
0
파일: PaymentTest.php 프로젝트: payum/core
 /**
  * @test
  */
 public function shouldAllowGetBankAccountPreviouslySet()
 {
     $order = new Payment();
     $bankAccountMock = $this->getMock(BankAccountInterface::class);
     $order->setBankAccount($bankAccountMock);
     $this->assertSame($bankAccountMock, $order->getBankAccount());
 }