File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
lesson_17/bank/bank_app/src
main/java/com/codedifferently/lesson17/bank
test/java/com/codedifferently/lesson17/bank Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 1
1
package com .codedifferently .lesson17 .bank ;
2
2
3
- import java .util .Set ;
4
-
5
3
import com .codedifferently .lesson17 .bank .exceptions .InsufficientFundsException ;
4
+ import java .util .Set ;
6
5
7
6
/**
8
7
* The {@code SavingsAccount} class represents a savings account in a banking system. It extends the
@@ -51,9 +50,9 @@ && getBalance() == other.getBalance()
51
50
/**
52
51
* Will throw and exception if the user attempt to make a withdrawl while under the instance of
53
52
* SavingsAccount.
54
- *
55
- * And the makes a second withdrawl that will check if there
56
- * is a check and throw an error if one comes in.
53
+ *
54
+ * <p> And the makes a second withdrawl that will check if there is a check and throw an error if
55
+ * one comes in.
57
56
*
58
57
* @param amount The amount to deposit.
59
58
*/
Original file line number Diff line number Diff line change 1
1
package com .codedifferently .lesson17 .bank ;
2
2
3
- import java .util .Set ;
4
- import java .util .UUID ;
5
-
6
3
import static org .assertj .core .api .Assertions .assertThat ;
7
4
import static org .assertj .core .api .Assertions .assertThatExceptionOfType ;
8
- import org .junit .jupiter .api .BeforeEach ;
9
- import org .junit .jupiter .api .Test ;
10
5
11
6
import com .codedifferently .lesson17 .bank .exceptions .AccountNotFoundException ;
12
7
import com .codedifferently .lesson17 .bank .exceptions .CheckVoidedException ;
8
+ import java .util .Set ;
9
+ import java .util .UUID ;
10
+ import org .junit .jupiter .api .BeforeEach ;
11
+ import org .junit .jupiter .api .Test ;
13
12
14
13
class BankAtmTest {
15
14
You can’t perform that action at this time.
0 commit comments