/** @dataProvider createBankAccountDataProvider*/
 public function testCreateBankAccount($money)
 {
     $user = new User();
     $mockBankAccount = $this->getMockBuilder("BankAccount")->disableOriginalConstructor()->getMock();
     $mockBankAccount->expects($this->once())->method('deposit')->with($money);
     $mockBankAccount->expects($this->once())->method('getBalance')->will($this->returnValue($money));
     $user->createBankAccount($mockBankAccount, $money);
     $this->assertEquals($money, $user->getTotalMoney());
 }