-
```
TypeError: Cannot read property 'add' of undefined
at
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/ts-mockito/lib/MethodStubSetter.js:20:1
at
at MethodS…
-
Please provide the following information:
* Version of JMockit that was used: 1.45
* Description of the problem or enhancement request:
previously iwas using jmockit version 1.24 with java 8…
-
Conversation split from https://github.com/mockito/mockito/pull/2894#discussion_r1096034581
I strongly recommend adopting this approach in this repo: https://jakewharton.com/build-on-latest-java-te…
-
In our projects we have tests that fire up embedded Tomcats + Spring web application context. In the Spring application context we create beans using Mockito mocks.
The problem is that Mockito mock …
-
- [ ] Libraries having update available
- [ ] Libraries marked vulnerable by scan
- [ ] Jetty
- [ ] Artemis
- [ ] Redis
- [ ] RabbitMQ
- [ ] Java Runtime Environment
- [ ] Anything else
Know…
-
I am trying to mock a class using `Mockito-Android`. But I am getting `IllegalStateException` when I do so.
I just mock a class like this `Wrapper wrapper = mock(ClassName.class);`
Tried differ…
-
Greetings!
How to use the classes of the model Realm when testing in Mockito?
`public class Foo extends RealmObject {`
` @PrimaryKey`
` private String PK;`
` public int getNum(){ retur…
-
It looks like Mockito does currently not support mocking of top-level kotlin functions such as:
```
package com.something
fun thisIsATopLevelFunction(param:Int) {...}
```
Is supporting this p…
-
It appears that GraalVM JDK 17 does not allow inline mocks of final classes to be made using mockito-inline or by adding the mockito inline extension file.
```
org.mockito.exceptions.base.MockitoI…
-
The "mock-maker-inline" is not available on Android, the error message can be optimized so the message "This mock maker is not supported on Android" stands on the first line of the exception.
Curre…