File tree Expand file tree Collapse file tree 2 files changed +44
-3
lines changed
lesson_15/tdd/tdd_app/src/test/java/com/codedifferently Expand file tree Collapse file tree 2 files changed +44
-3
lines changed Original file line number Diff line number Diff line change
1
+ package com .codedifferently .lesson15 ;
2
+
3
+ import org .junit .jupiter .api .Test ;
4
+
5
+ public class EmployeeManagerTest {
6
+
7
+ EmployeeTest employeeTest ;
8
+
9
+ @ Test
10
+ public void getIdTest () {
11
+ // test if id matches set id
12
+
13
+ }
14
+
15
+ @ Test
16
+ public void setIdTest () {
17
+ // tests if changed id matches new id
18
+ }
19
+
20
+ @ Test
21
+ public void getNameTest () {
22
+ // tests if changed name matches name
23
+ }
24
+
25
+ @ Test
26
+ public void setNameTest () {
27
+ // tests if changed id matches new id
28
+ }
29
+
30
+ @ Test
31
+ public void getDepartmentTest () {}
32
+
33
+ @ Test
34
+ public void setDepartmentTest () {}
35
+
36
+ @ Test
37
+ public void getSalaryTest () {}
38
+
39
+ @ Test
40
+ public void setSalaryTest () {}
41
+ }
Original file line number Diff line number Diff line change 1
1
package com .codedifferently .lesson15 ;
2
2
3
- import java .util .ArrayList ;
4
- import java .util .List ;
5
-
6
3
import static org .assertj .core .api .Assertions .assertThatThrownBy ;
7
4
import static org .junit .jupiter .api .Assertions .assertEquals ;
5
+
6
+ import java .util .ArrayList ;
7
+ import java .util .List ;
8
8
import org .junit .jupiter .api .BeforeEach ;
9
9
import org .junit .jupiter .api .Test ;
10
10
You can’t perform that action at this time.
0 commit comments