Improve wording

This commit is contained in:
Sebastien Deleuze
2018-05-12 09:45:59 +02:00
parent baffcab1ca
commit 2408e73cee

View File

@@ -773,7 +773,7 @@ class HttpApiTests(@Autowired val mockMvc: MockMvc) {
} }
---- ----
Notice that `when` is a reserved Kotlin keyword, that's why we choose to use https://github.com/nhaarman/mockito-kotlin/[mockito-kotlin] library which provides a `whenever` alias (using escaped `{backtick}when{backtick}`). In order to use it, add following dependency. Notice that `when` is a reserved Kotlin keyword, that's why we choose to use https://github.com/nhaarman/mockito-kotlin/[mockito-kotlin] library which provides a `whenever` alias (using escaped `{backtick}when{backtick}` is also possible). In order to use it, add following dependency.
`build.gradle` `build.gradle`
[source,groovy] [source,groovy]