nhaarman
07/06/2017, 4:12 PMkotlin.NotImplementedError, unless you make the function `open`:
@Test
fun foo() {
val foo = mock<Foo>()
foo.foo()
}
open class Foo {
fun foo() {
TODO()
}
}
Whether or not it returns a value doesn't matter here.