I have a post API endpoint where I post certain data into the workflow. I am unable to mock certain static methods using Mockito and jnuit5. I am using methods including ExecutionName.of(), executionClient.getExecution() and getExecutionRequest(). Fresher in a company, any suggestions on how to do it.
I have tried stub injection but wasn't able to get any results out of it.