mockito-kotlin
https://github.com/nhaarman/mockito-kotlin
Kotlin
Using Mockito with Kotlin
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Kotlin not yet supported5 Subscribers
Add a CodeTriage badge to mockito-kotlin
Help out
- Issues
- Argument capture for value classes
- NPE when using result of suspending method of verify on Kotlin 2.0
- Cannot spy lambda since Kotlin 2.0
- NPE when stub lambda since K2
- How to use "any" with a lambda?
- java.lang.NullPointerException when upgraded to kotlin 2.0
- Some tests can not mock class in `Java17`
- Help needed: Update gradle-nexus.publish-plugin from 1.3.0 to 2.0.0
- Ability to reset all used mocks
- When a function with default arguments is mocked using matchers, an InvalidUseOfMatchersException is raised.
- Docs
- Kotlin not yet supported