vishesh92 commented on code in PR #7577: URL: https://github.com/apache/cloudstack/pull/7577#discussion_r1217685958
########## utils/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker: ########## @@ -0,0 +1 @@ +mock-maker-inline Review Comment: Need to make this change to fix this error. ref: https://javadoc.io/doc/org.mockito/mockito-core/3.12.4/org/mockito/Mockito.html#Mocking_Final ``` org.mockito.exceptions.base.MockitoException: The used MockMaker PowerMockMaker does not support the creation of static mocks Mockito's inline mock maker supports static mocks based on the Instrumentation API. You can simply enable this mock mode, by placing the 'mockito-inline' artifact where you are currently using 'mockito-core'. Note that Mockito's inline mock maker is not supported on Android. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
