Browse Source

Merge pull request #33867 from zhangyanyue

* pr/33867:
  Fix typo in kotlin getting started documentation

Closes gh-33867
pull/33914/head
Moritz Halbritter 3 years ago
parent
commit
ac91cfdfbf
  1. 2
      spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/kotlin.adoc

2
spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/kotlin.adoc

@ -138,7 +138,7 @@ JUnit 5 enables a test class to be instantiated once and reused for all of the c @@ -138,7 +138,7 @@ JUnit 5 enables a test class to be instantiated once and reused for all of the c
This makes it possible to use `@BeforeAll` and `@AfterAll` annotations on non-static methods, which is a good fit for Kotlin.
To mock Kotlin classes, https://mockk.io/[MockK] is recommended.
If you need the `Mockk` equivalent of the Mockito specific <<features#features.testing.spring-boot-applications.mocking-beans,`@MockBean` and `@SpyBean` annotations>>, you can use https://github.com/Ninja-Squad/springmockk[SpringMockK] which provides similar `@MockkBean` and `@SpykBean` annotations.
If you need the `MockK` equivalent of the Mockito specific <<features#features.testing.spring-boot-applications.mocking-beans,`@MockBean` and `@SpyBean` annotations>>, you can use https://github.com/Ninja-Squad/springmockk[SpringMockK] which provides similar `@MockkBean` and `@SpykBean` annotations.

Loading…
Cancel
Save