jkube
jkube copied to clipboard
(jkube-kit/build/service/docker/) : Migrate all tests from JMockit to Mockito
Component
JKube Kit
Task description
Description
Child of https://github.com/eclipse/jkube/issues/857
Migrate the following tests to use Mockito instead of JMockit:
- ImageConfigurationTest
- WatchServiceTest
- ApacheHttpClientDelegateTest
- HcChunkedResponseHandlerWrapperTest
- AuthConfigFactoryTest
- CredentialHelperClientTest
- AwsSdkAuthConfigFactoryTest
- DockerRegistryAuthHandlerTest
- EcrExtendedAuthTest
- PropertyConfigHandlerTest
- ImageNameFormatterTest
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)
@rohanKanojia Please assign this.