Skip to content

Commit cd322d7

Browse files
committed
Polish "Add a link to SpringMockK in the Kotlin documentation"
Closes gh-15943
1 parent da6de21 commit cd322d7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -8610,11 +8610,11 @@ documentation] for more details. You also need to
86108610
{junit5-documentation}/#writing-tests-test-instance-lifecycle-changing-default[switch test
86118611
instance lifecycle to "per-class"].
86128612

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.
86188618

86198619

86208620

0 commit comments

Comments
 (0)