fix: align Turkish TDD test to expect NullPointerException

Objects.requireNonNull throws NullPointerException, not
IllegalArgumentException. The English source was correct;
the Turkish translation had the wrong exception type.
This commit is contained in:
AlexisLeDain
2026-04-13 14:55:12 +02:00
parent 46db568c38
commit 11cc20bbcf

View File

@@ -442,8 +442,8 @@ class EventServiceTest {
Object nullPayload = null;
// ACT & ASSERT
IllegalArgumentException exception = assertThrows(
IllegalArgumentException.class,
NullPointerException exception = assertThrows(
NullPointerException.class,
() -> eventService.createSuccessEvent(nullPayload, "EVENT_TYPE")
);