Contract Testing using Pact with Java
In a microservices architecture, where many services can communicate with each other, through HTTP requests or messages, it is very important to ensure all the interactions will work as expected once the services are deployed, this can be done with integration testing where the services in question are deployed to