Skip to content

Commit 5418cff

Browse files
committed
Update README.md
1 parent 559ffc5 commit 5418cff

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

README.md

+3-8
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,11 @@ A small library that provides helper functions to work with [Mockito](https://gi
55

66
## Install
77

8-
Mockito-Kotlin is available on Maven Central.
8+
Mockito-Kotlin is available on Maven Central and JCenter.
99
For Gradle users, add the following to your `build.gradle`, replacing `x.x.x` with the latest version:
1010

1111
```groovy
12-
repositories {
13-
mavenCentral()
14-
}
15-
dependencies {
16-
testCompile "com.nhaarman:mockito-kotlin:x.x.x"
17-
}
12+
testCompile "com.nhaarman:mockito-kotlin:x.x.x"
1813
```
1914

2015
## Example
@@ -23,7 +18,7 @@ A test using Mockito-Kotlin typically looks like the following:
2318

2419
```kotlin
2520
@Test
26-
fun a(){
21+
fun doAction_doesSomething(){
2722
/* Given */
2823
val mock = mock<MyClass> {
2924
on { getText() } doReturn "text"

0 commit comments

Comments
 (0)