diff --git a/skills/quarkus-tdd/SKILL.md b/skills/quarkus-tdd/SKILL.md index 9d977cce..c9dd4153 100644 --- a/skills/quarkus-tdd/SKILL.md +++ b/skills/quarkus-tdd/SKILL.md @@ -445,8 +445,8 @@ class EventServiceTest { Object nullPayload = null; // ACT & ASSERT - IllegalArgumentException exception = assertThrows( - IllegalArgumentException.class, + NullPointerException exception = assertThrows( + NullPointerException.class, () -> eventService.createSuccessEvent(nullPayload, "EVENT_TYPE") );