Unit testing for post API for a Google workflows endpoint

26 Views Asked by At

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.

0

There are 0 best solutions below