Files
DongHyeonka 5074fa04f3 test(notification): 운영자 audit 기록 fake를 testFixtures 하나로 둔다
NotificationAuditPort의 시험 대역이 시험마다 따로 있다.
NotificationAdminUseCasesTest는 private RecordingAudit를, 새
NotificationAdminRefusalHttpAnswerTest는 no-op 람다를 쓴다. 포트 대역은 포트
소유 leaf의 testFixtures에 하나만 둔다는 규칙(.claude/rules/java-tests.md
6)과 어긋나고, no-op 람다로는 HTTP 시험이 audit 0을 단언할 수 없다.

application-notification testFixtures에 RecordingNotificationAudit를 두고 두
시험이 그것을 쓴다. HTTP 시험은 이제 거절된 redrive가 아무것도 audit하지
않았음도 단언한다. 실제 구현(LoggingNotificationAudit)은 로그 한 줄을 쓰므로
공유 계약은 두지 않았다. 호출자가 기대는 동작은 「기록하고 던지지 않는다」
하나다. 그 이유를 docs/testing/TESTING_STRATEGY.md 9.2절 표에 적었다.

위험·한계: 시험 코드와 testFixtures만 바뀐다. 기존 시험의 단언은 같은 값을
같은 방법으로 본다(필드 대신 events() 복사본).

검증: 노트북 감싸개 :application-notification:check,
:adapter:inbound:web-notification:check rc=0.

Refs: REV-BE-0039
2026-11-23 08:05:42 +09:00
..