Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Aug 6, 2020
1 parent b53f54f commit 63f7c75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6287,7 +6287,7 @@ TIP: If you are using `@SpyBean` to spy on a bean with `@Cacheable` methods that
This ensures that the parameter names are available to the caching infrastructure once the bean has been spied upon.

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`.
Use `AopTestUtils.getTargetProxy(yourProxiedSpy)` to do so.
Use `AopTestUtils.getTargetObject(yourProxiedSpy)` to do so.



Expand Down

0 comments on commit 63f7c75

Please sign in to comment.