jkube
jkube copied to clipboard
(jkube-kit/generator/java-exec/) : Migrate tests from JMockit to Mockito
Component
No response
Task description
Description
Child of https://github.com/eclipse/jkube/issues/857
Migrate the following tests to use Mockito instead of JMockit:
- JavaExecGeneratorMainClassDeterminationTest
- JavaExecGeneratorTest
- JavaRunGeneratorTest
Expected Behavior
All tests in the abovementioned need to be migrated to mockito. All references to jmockit should be removed or replaced with Mockito equivalents.
Acceptance Criteria
- [ ] tests should be migrated to mockito
- [ ] Dependency
org.jmockit:jmockit
should be removed frompom.xml
- [ ] Assertions should be replaced by AssertJ
- [ ] Tests should be evaluated and refactored if applicable (optional)