File tree 1 file changed +5
-5
lines changed
spring-boot-project/spring-boot-docs/src/main/asciidoc
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8610,11 +8610,11 @@ documentation] for more details. You also need to
8610
8610
{junit5-documentation}/#writing-tests-test-instance-lifecycle-changing-default[switch test
8611
8611
instance lifecycle to "per-class"].
8612
8612
8613
- For mocking Kotlin classes, using https://mockk.io/[Mockk] is recommended. If you need the
8614
- Mockk equivalent of the Mockito specific
8615
- <<boot-features-testing-spring-boot-applications-mocking-beans,`@MockBean` and `@SpyBean` annotations>>,
8616
- you can use https://github.com/Ninja-Squad/springmockk[SpringMockK] which provides similar `@MockkBean`
8617
- and `@SpykBean` annotations.
8613
+ To mock Kotlin classes, https://mockk.io/[Mockk] is recommended. If you need the `Mockk`
8614
+ equivalent of the Mockito specific
8615
+ <<boot-features-testing-spring-boot-applications-mocking-beans,`@MockBean` and `@SpyBean`
8616
+ annotations>>, you can use https://github.com/Ninja-Squad/springmockk[SpringMockK] which
8617
+ provides similar `@MockkBean` and `@SpykBean` annotations.
8618
8618
8619
8619
8620
8620
You can’t perform that action at this time.
0 commit comments