Skip to content

Commit 63f7c75

Browse files
committed
Polish
1 parent b53f54f commit 63f7c75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6287,7 +6287,7 @@ TIP: If you are using `@SpyBean` to spy on a bean with `@Cacheable` methods that
62876287
This ensures that the parameter names are available to the caching infrastructure once the bean has been spied upon.
62886288

62896289
TIP: When you are using `@SpyBean` to spy on a bean that is proxied by Spring, you may need to remove Spring's proxy in some situations, for example when setting expectations using `given` or `when`.
6290-
Use `AopTestUtils.getTargetProxy(yourProxiedSpy)` to do so.
6290+
Use `AopTestUtils.getTargetObject(yourProxiedSpy)` to do so.
62916291

62926292

62936293

0 commit comments

Comments
 (0)