mockito-kotlin
https://github.com/mockito/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 supported3 Subscribers
Add a CodeTriage badge to mockito-kotlin
Help out
- Issues
- Mockito cannot mock function with UShort arguments
- Mockito cannot mock this class: class pl.inpost.recruitmenttask.presentation.shipmentList.Section$HasId.
- Version 5.0.0 + Android fails with: Cannot inline bytecode built with JVM target 11
- "Mockito cannot mock this class" after upgrading from Kotlin 1.6.21 to 1.7.0
- how to verify a static method in kotlin
- Return an empty String instead of null when creating a mock
- InjectMocks doesn't work when declaring a default constructor with default values
- Kotlin - Unable to return value classes
- control when suspending functions emit - is this possible?
- Improvement: Don't check whenever(mock)-calls on verifyNoMoreInteractions(mock)
- Docs
- Kotlin not yet supported