-
```
plugins {
`java-library`
`maven-publish`
id("io.spring.dependency-management")
}
repositories {
mavenLocal()
maven {
url = uri("https://repo.maven.apache.org…
-
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.…
-
I get an `IncompatibleClassChangeError` with any use of the `argThat` matcher. Full stacktrace: https://pastebin.com/4hr67L0r. I am using version `2.0.0`.
Here is a simple example I replicated the …
-
**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…
-
**Describe the bug**
After updating to Kotlin 1.9.10 and plugging org.jetbrains.dokka to 1.9.10
`dokkaGfm` is failing in Android project with error message
`> Recursion detected on input: takePict…
-
### Prerequisites
- [ X ] I am running the latest version
- [ X ] I checked the documentation and found no answer
- [ X ] I checked to make sure that this issue has not already been filed
### Ex…
-
I have tried to run a simple test-case with Mockk https://mockk.io/, but it doesn't work.
````
class PitMockkDepUseCaseTest {
@Test
fun test() {
mockkConstructor(PitProvider::…
-
I want to mock this function:
```
class MyClass() {
fun myFunction(argument: UShort): ByteArray {
....
}
}
```
```
var mocked: MyClass = mock(MyClass::class.java)
doReturn(byteAr…
-
I have a test class with 2 tests (written in java). The tests are trying to verify the behaviour of the subject (written in kotlin) by spying on it.
Expected behaviour:
tests pass because the expe…