Skip to content

Commit e3b0d6e

Browse files
committed
test: 메서드참조를 람다로 수정
1 parent 3ba50ad commit e3b0d6e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/test/java/com/prism/statistics/infrastructure/collect/inbox/CollectInboxTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ class CollectInboxTest {
7676
void rehydrate는_상태별_유효한_조합을_허용한다() {
7777
// when & then
7878
assertAll(
79-
() -> assertThatCode(this::createPendingInbox).doesNotThrowAnyException(),
80-
() -> assertThatCode(this::createProcessingInbox).doesNotThrowAnyException(),
81-
() -> assertThatCode(this::createProcessedInbox).doesNotThrowAnyException(),
82-
() -> assertThatCode(this::createRetryPendingInbox).doesNotThrowAnyException(),
83-
() -> assertThatCode(this::createFailedInbox).doesNotThrowAnyException()
79+
() -> assertThatCode(() -> createPendingInbox()).doesNotThrowAnyException(),
80+
() -> assertThatCode(() -> createProcessingInbox()).doesNotThrowAnyException(),
81+
() -> assertThatCode(() -> createProcessedInbox()).doesNotThrowAnyException(),
82+
() -> assertThatCode(() -> createRetryPendingInbox()).doesNotThrowAnyException(),
83+
() -> assertThatCode(() -> createFailedInbox()).doesNotThrowAnyException()
8484
);
8585
}
8686

0 commit comments

Comments
 (0)