@@ -0,0 +1,1045 @@
+package ru.matevosyan;%0A%0Aimport org.junit.Test;%0A%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.Matchers.is;%0A%0A/**%0A * Created by Admin on 27.04.2017.%0A */%0Apublic class BankTest %7B%0A%0A    @Test%0A    public void whenTransferAmountThanCheckThisAmount() %7B%0A%0A        //assign%0A        Bank bank = new Bank();%0A%0A        User firstUser = new User(%22Tom%22, %22KO23423F%22);%0A        Account firstUserAccount = new Account(50.50, %22G45FD45-567%22);%0A%0A        User secondUser = new User(%22Luis%22, %22KG56423F%22);%0A        Account secondUserAccount = new Account(0.0, %22G4H8F45-997%22);%0A%0A        //act%0A        bank.addUser(firstUser);%0A        bank.addAccountToUser(firstUser, firstUserAccount);%0A%0A        bank.addUser(secondUser);%0A        bank.addAccountToUser(secondUser, secondUserAccount);%0A%0A        bank.transferMoney(firstUser, firstUserAccount, secondUser, secondUserAccount, 10);%0A%0A        //assert%0A//        assertThat(bank.getUserAccounts(secondUser).get(0).getValue(),is(10.0));%0A        assertThat(secondUserAccount.getValue(),is(10.0));%0A    %7D%0A%0A%7D

add BankTest