diff --git a/spring-caching/pom.xml b/spring-caching/pom.xml
index 9a0da2e514..b13755dafd 100644
--- a/spring-caching/pom.xml
+++ b/spring-caching/pom.xml
@@ -70,7 +70,7 @@
net.bytebuddy
byte-buddy
- 1.10.10
+ 1.10.11
org.springframework.data
diff --git a/spring-caching/src/test/java/com/baeldung/springdatacaching/repositories/BookRepositoryCachingIntegrationTest.java b/spring-caching/src/test/java/com/baeldung/springdatacaching/repositories/BookRepositoryCachingIntegrationTest.java
index 49ecc3a058..cd11d7cc4a 100644
--- a/spring-caching/src/test/java/com/baeldung/springdatacaching/repositories/BookRepositoryCachingIntegrationTest.java
+++ b/spring-caching/src/test/java/com/baeldung/springdatacaching/repositories/BookRepositoryCachingIntegrationTest.java
@@ -64,7 +64,7 @@ public class BookRepositoryCachingIntegrationTest {
}
@Test
- void givenCachedBookWhenFindByTitleThenRepositoryShouldNotBeHit() {
+ void givenCachedBook_whenFindByTitle_thenRepositoryShouldNotBeHit() {
assertEquals(of(DUNE), bookRepository.findFirstByTitle("Dune"));
verify(mock).findFirstByTitle("Dune");
@@ -75,7 +75,7 @@ public class BookRepositoryCachingIntegrationTest {
}
@Test
- void givenNotCachedBookWhenFindByTitleThenRepositoryShouldBeHit() {
+ void givenNotCachedBook_whenFindByTitle_thenRepositoryShouldBeHit() {
assertEquals(of(FOUNDATION), bookRepository.findFirstByTitle("Foundation"));
assertEquals(of(FOUNDATION), bookRepository.findFirstByTitle("Foundation"));
assertEquals(of(FOUNDATION), bookRepository.findFirstByTitle("Foundation"));
diff --git a/spring-caching/src/test/java/com/baeldung/springdatacaching/repositories/BookRepositoryIntegrationTest.java b/spring-caching/src/test/java/com/baeldung/springdatacaching/repositories/BookRepositoryIntegrationTest.java
index 56bc898bd0..3d11f4ad0b 100644
--- a/spring-caching/src/test/java/com/baeldung/springdatacaching/repositories/BookRepositoryIntegrationTest.java
+++ b/spring-caching/src/test/java/com/baeldung/springdatacaching/repositories/BookRepositoryIntegrationTest.java
@@ -38,14 +38,14 @@ public class BookRepositoryIntegrationTest {
}
@Test
- void givenBookThatShouldBeCachedWhenFindByTitleThenResultShouldBePutInCache() {
+ void givenBookThatShouldBeCached_whenFindByTitle_thenResultShouldBePutInCache() {
Optional dune = repository.findFirstByTitle("Dune");
assertEquals(dune, getCachedBook("Dune"));
}
@Test
- void givenBookThatShouldNotBeCachedWhenFindByTitleThenResultShouldNotBePutInCache() {
+ void givenBookThatShouldNotBeCached_whenFindByTitle_thenResultShouldNotBePutInCache() {
repository.findFirstByTitle("Foundation");
assertEquals(empty(), getCachedBook("Foundation"));