Closed vamsi-6579 closed 11 months ago
There is a mocking module that has existed for the last 3 years: https://github.com/Kong/unirest-java/tree/main/unirest-mocks
Check out the tests for more examples: https://github.com/Kong/unirest-java/blob/main/unirest-mocks/src/test/java/kong/tests
we are using mashape import which is old, But after changing to this import
Iam unable to import MockClient
you need to pull in the mocking module, its its own dependency
A clear and concise description of what the problem is, I'm always frustrated when I'm trying to mock the Unirest call in Junit5 Provide features to mock the Unirest by updating the dependency or by adding a new dependency