-
Hi,
After switching kotlin's api/language from 1.4 to 1.5, the following code:
```
@Test
fun test() {
val deferredSupplier = spy(Supplier { Flux.empty() })
Flux.defer(d…
-
@nhaarman , the area that I was trying to test was like this
```
val testArg = mock Unit>()
val result = someClass.doSomething(testArg)
verify(testArg).invoke(any())
```
And the error comes …
-
I got some errors below after upgraded to kotlin 2.0 beta:
```
clear[macosArm64] FAILED
io.mockative.NoSuchMockException at /opt/buildAgent/work/6285e88d8d1c1e7f/kotlin/kotlin-native/runtime/sr…
-
When using Roboletric as test runner, mocking any Kotlin's function interfaces (`Function`, `Function1`, `Function2` etc.) will crash the test with ClassCastException.
For example this code:
```…
-
I'm not sure whether it's mockito-kotlin as it seems that something is wrong on boundary of kotlin/mockito, however it might be a thing that mockito-kotlin can solve somehow.
It seems like that usi…
Th4n updated
4 months ago
-
I just installed the plugin for the first time in IDEA 2023.3.6 Ultimate and opened the Groovy "hello world" example. I can successfully run the plugin, but in the editor it looks like this:
![imag…
-
Having a kotlin singleton with static methods
```
internal object TestSingleton {
@JvmStatic
fun staticMethod1 (str: String) {
println("+++ === +++ TestSingleton.staticMethod(),…
-
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.
## Rate-Limited
These updates a…
-
I was trying a mock a static method inside my Kotlin class for a unit test, but it seems the Java version of my Unit Test is successful but the Kotlin version is failing
```
@RunWith(RobolectricTe…
-
Hi.
With `23.4.223.000.0-Eclipse_2023-03`, I run into a strange issue: some methods are just skipped rather than formatted, while the rest of the file is processed just fine, and the conditions for…