-
The `verifyNoMoreInteractions` method has an expectation that if will flag unexpected (unchecked) interactions on the related mocks. For Example:
`verifyNoMoreInteractions(mocks)`
- will correct…
-
This code below does not work when using realm-java in a Kotlin project since high order functions from Kotlin are not automatically handled by this solution that uses the interactor:
https://github.…
-
Hi,
hope find you well with this cold call.
I am an author of [mocking framework for Kotlin](http://mockk.io)
I see you are using mockito-kotlin.
I just want you to be aware that there is solution…
-
**Description**
I recently found the quarkus-panache-mocking extension to be able to mock panache based entities in tests.
I currently have an active project using Panache and Kotlin but it seems n…
-
Mocking a method that returns a Result does not work.Instead of Result it returns Result. There is a simple example to reproduce it:
import org.amshove.kluent.shouldBeEqualTo
import org.junit.jupi…
-
Hi,
Kotlin does not have checked exceptions.
https://kotlinlang.org/docs/reference/exceptions.html#checked-exceptions
However, `ThrowsException#validateFor(InvocationOnMock)` does not allow the…
-
Adding
> testImplementation 'com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0'
to the project causes exception:
```
java.lang.IllegalStateException: Could not initialize plugin: interface o…
rumax updated
4 years ago
-
Version
2.18.3
```
open class Target{
open val a:Int = 0
val b:Int by lazy {
10 + a
}
}
@RunWith(RobolectricTestRunner::class)
class MyTest {
@Test
fun test() {
va…
-
Hi, I have project with android library where I trying use your library, when I start tests then following error occurs:
```
org.mockito.exceptions.base.MockitoException:
Cannot mock/spy class com.…
-
```
plugins {
`java-library`
`maven-publish`
id("io.spring.dependency-management")
}
repositories {
mavenLocal()
maven {
url = uri("https://repo.maven.apache.org…