File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff 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 .
99For 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"
You can’t perform that action at this time.
0 commit comments