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![CodeTriage badge for nhaarman/mockito-kotlin](/nhaarman/mockito-kotlin/badges/users.svg?count=5)
Help out
- Issues
- "Mockito cannot mock this class" after upgrading from Kotlin 1.6.21 to 1.7.0
- Mockito.mockStatic not working with Kotlin but it works in Java
- how to verify a static method in kotlin
- Kotlin - Unable to return value classes
- Mock Android Secure static method
- Mocking fails in a test method containing space in its name
- Mockito cannot mock/spy because : VM does not support modification of given type
- InjectMocks doesn't work when declaring a default constructor with default values
- MyClass$MockitoMock$ must be defined in the same package MyClass/package
- migrate to JUnit5
- Docs
- Kotlin not yet supported