Comments (4)
I haven't used PowerMock before, I normally make a decision between making the class non-final or creating an interface for it. This library does not solve these problems, so perhaps the best thing to do is to indeed make it use 1.x.
from mockito-kotlin.
This has not been solved has it? Has any1 found a solution, otherwise I might just make a v1.x variant.
from mockito-kotlin.
There is no intention for this library to support 1.x indeed.
from mockito-kotlin.
Okay, I'm going to start a 1.x variant then forked from yours :) If any1 is interessed you can find it on my Github.
from mockito-kotlin.
Related Issues (20)
- Override variable shows as null in base class for test
- Mockito 5.1 support HOT 2
- lenient().whenever() reports type mismatch TypeVariable(T) was expected
- mockConstruction doesn't work with coroutines
- Add mockito-kotlin inside mockito-bom HOT 1
- wheneverBlocking confuses with similar stub methods
- Wrong return value from doAnswer HOT 1
- Version 5.0.0 + Android fails with: Cannot inline bytecode built with JVM target 11 HOT 7
- Mockito cannot mock this class: class pl.inpost.recruitmenttask.presentation.shipmentList.Section$HasId. HOT 2
- Mockito cannot mock function with UShort arguments HOT 3
- mockito-kotlin upgrade from 4.1.0 to 5.1.0 fails with latest Kotlin HOT 2
- mockedConstruction and context HOT 1
- Regression in 5.2.0 POM: missing Mockito dependency for compilation HOT 1
- Kotlin spy beans created with incorrect method signature
- Phantom call with suspend and try block HOT 2
- Provide AdditionalMatchers for Kotlin HOT 1
- Release is broken HOT 3
- Version 5.3.0 not published to Maven central
- When a function with default arguments is mocked using matchers, an InvalidUseOfMatchersException is raised.
- Ability to reset all used mocks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mockito-kotlin.