Second test fails, Wiremock stubs not being reset after test
I have a @SpringBootTest with 2 tests of a service (happy + negative flows) which calls an external API. I used wiremock to stub the response of that API. When I run each test individually they pass, but when I run the entire class the second test fails. I assumed it’s because of the stub not being properly cleaned and as a solution I did a `WireMock.reset()` before each test. This doesn’t fix the issue. However, @DirtiesContext on the first test seems to fix it. I wish I didn’t have to use this annotation as it slows down the tests and is a bad practice all together to refresh the spring context after each test.