Skip to content

Commit 9fc2779

Browse files
authored
Using Reactor Mono.cache for memoization
1 parent 5a8692f commit 9fc2779

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-reactive-modules/spring-reactive-client-2/src/test/java/com/baeldung/memoization/MemoizationWithMonoCacheUnitTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void givenRetrievedUser_whenTheCallToRemoteIsCache_thenReturnInvocationCountAndC
6565
}
6666

6767
@Test
68-
void givenRetrievedUser_whenTheCallToRemoteIsCacheWithSuration_thenReturnInvocationCountAndCompareResult() {
68+
void givenRetrievedUser_whenTheCallToRemoteIsCacheWithDuration_thenReturnInvocationCountAndCompareResult() {
6969

7070
MemoizationWithMonoCache memoizationWithMonoCache = new MemoizationWithMonoCache();
7171

@@ -91,4 +91,4 @@ void givenRetrievedUser_whenTheCallToRemoteIsCacheWithSuration_thenReturnInvocat
9191

9292
}
9393

94-
}
94+
}

0 commit comments

Comments
 (0)