File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
lesson_17/bank/bank_app/src
main/java/com/codedifferently/lesson17/bank/exceptions
test/java/com/codedifferently/lesson17/bank/exceptions Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,12 @@ public CheckingAccount(String accountNumber) {
37
37
this .accountNumber = accountNumber ;
38
38
}
39
39
40
- public void withdraw (double amount ) {
40
+ private void withdraw (double amount ) {
41
41
// TODO Auto-generated method stub
42
42
throw new UnsupportedOperationException ("Unimplemented method 'withdraw'" );
43
43
}
44
44
45
- public void deposit (double amount ) {
45
+ private void deposit (double amount ) {
46
46
// TODO Auto-generated method stub
47
47
throw new UnsupportedOperationException ("Unimplemented method 'deposit'" );
48
48
}
Original file line number Diff line number Diff line change 2
2
3
3
import static org .assertj .core .api .Assertions .assertThat ;
4
4
import static org .assertj .core .api .Assertions .assertThatExceptionOfType ;
5
- import org .junit .jupiter .api .BeforeEach ;
6
- import org .junit .jupiter .api .Test ;
7
5
8
6
import com .codedifferently .lesson17 .bank .Check ;
9
7
import com .codedifferently .lesson17 .bank .CheckingAccount ;
8
+ import org .junit .jupiter .api .BeforeEach ;
9
+ import org .junit .jupiter .api .Test ;
10
10
11
11
class MoneyOrderTest <account2 > {
12
12
You can’t perform that action at this time.
0 commit comments