We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 559ffc5 commit 5418cffCopy full SHA for 5418cff
README.md
@@ -5,16 +5,11 @@ A small library that provides helper functions to work with [Mockito](https://gi
5
6
## Install
7
8
-Mockito-Kotlin is available on Maven Central.
+Mockito-Kotlin is available on Maven Central and JCenter.
9
For Gradle users, add the following to your `build.gradle`, replacing `x.x.x` with the latest version:
10
11
```groovy
12
-repositories {
13
- mavenCentral()
14
-}
15
-dependencies {
16
- testCompile "com.nhaarman:mockito-kotlin:x.x.x"
17
+testCompile "com.nhaarman:mockito-kotlin:x.x.x"
18
```
19
20
## Example
@@ -23,7 +18,7 @@ A test using Mockito-Kotlin typically looks like the following:
23
24
```kotlin
25
@Test
26
-fun a(){
21
+fun doAction_doesSomething(){
27
22
/* Given */
28
val mock = mock<MyClass> {
29
on { getText() } doReturn "text"
0 commit comments