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
- How to properly mock companion object methods?
- How to control continuation after it.callRealMethod()
- 'Mockito.RETURNS_SELF' does not work for a supendable builder methods
- verify fails with newline in actual, when object equals is not defined
- Kotlin data class and ArgumentMatchers issue
- Cannot mock boxed (primitive?) types
- Support withoutAnnotations in MockitoSettings
- Argument matcher `check` called twice when the mocked method was only called once.
- NPE when using result of suspending method of verify on Kotlin 2.0
- Cannot spy lambda since Kotlin 2.0
- Docs
- Kotlin not yet supported