Skip to content

Commit d388be2

Browse files
author
AmiyahJo
committed
rm: throw exception extra(s)
1 parent 5831a17 commit d388be2

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

lesson_15/tdd/tdd_app/src/test/java/com/codedifferently/lesson15/EmployeeManagerTest.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -88,18 +88,4 @@ void testGetEmployeeThrowsExceptionForNonExistentId() {
8888
});
8989
}
9090

91-
@Test
92-
void testUpdateEmployeeThrowsExceptionForNonExistentId() {
93-
Employee employee = new Employee(1, "John Doe", null, 0);
94-
assertThrows(IllegalArgumentException.class, () -> {
95-
employeeManager.updateEmployee(employee);
96-
});
97-
}
98-
99-
@Test
100-
void testRemoveEmployeeThrowsExceptionForNonExistentId() {
101-
assertThrows(IllegalArgumentException.class, () -> {
102-
employeeManager.removeEmployee(999);
103-
});
104-
}
10591
}

0 commit comments

Comments
 (0)