-
I wanted to make a mock that would never be called. I set `defaultAnswer` to throw an exception for everything. This works for most methods, but not for `equals()`
Maybe this is an underlying Mocki…
aSemy updated
3 years ago
-
I updated mockitokotlin2 to 2.2.0 and after that we saw unit tests failing with
`java.lang.NoSuchMethodError: com.nhaarman.mockitokotlin2.MockingKt.withSettings([Lkotlin/reflect/KClass;Ljava/lang/…
-
Since updating to the latest version of Kotlin in https://github.com/eclipse-emfcloud/emfcloud-modelserver/pull/56 the JUnit tests seem to fail **sometimes** with the following error:
```
org.mockit…
-
Some methods in the `Context` class cannot be reliably mocked and therefore unit testing controllers is in many cases not possible.
The issue is, firstly, with all inline functions in `Context` as …
Zemke updated
3 years ago
-
Hi guys
I'm encountering a crash when I run `AndroidTest` that contain mocking class cause the ByteBuddy didn't found `javax.tools.ToolProvider`. I tried to reinstall JDK 8 but doesn't work. It see…
-
```
id("org.springframework.boot") version "2.4.3"
id("io.spring.dependency-management") version "1.0.11.RELEASE"
id("org.springframework.experimental.aot") version "0.9.1-SNAPSHOT"
kotl…
-
### Description
Using Mockito to mock [Cipher#getIV()](https://docs.oracle.com/javase/7/docs/api/javax/crypto/Cipher.html#getIV()) results in a NullPointerException. The same test is passing with R…
-
Android Studio version: _____3.6
Firebase Component: _____ firebase-messaging
Component version: _____"20.1.0"
We are using firebase for push notifications. We have got this crash for few use…
-
I have some general suggestions (that I'm willing to put into practice via PRs) for improving FlorisBoard's codebase. These include:
- Cleaning up existing dependencies (some deps are unnecessary, fo…
-
In a kotlin project, using 3.2.0 of this plugin, the following import is totally removed by the formatter cause build failures due to the deleted line. I have mitigated this so we can continue to use…