File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
app/src/test/kotlin/com/fernandocejas/sample Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,9 @@ package com.fernandocejas.sample
1818import io.mockk.MockKAnnotations
1919import org.junit.rules.TestRule
2020
21- class InjectMocksRule {
22-
23- companion object {
24- fun create (testClass : Any ) = TestRule { statement, _ ->
25- MockKAnnotations .init (testClass, relaxUnitFun = true )
26- statement
27- }
21+ object InjectMocksRule {
22+ fun create (testClass : Any ) = TestRule { statement, _ ->
23+ MockKAnnotations .init (testClass, relaxUnitFun = true )
24+ statement
2825 }
2926}
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ package com.fernandocejas.sample.features.movies
1818import com.fernandocejas.sample.AndroidTest
1919import com.fernandocejas.sample.core.functional.Either.Right
2020import io.mockk.coEvery
21- import io.mockk.every
2221import io.mockk.impl.annotations.MockK
2322import kotlinx.coroutines.runBlocking
2423import org.amshove.kluent.shouldEqualTo
You can’t perform that action at this time.
0 commit comments