Resetting Wiremock
I have a WireMock server hosted in a docker container and started via an external process rather than using TestContainers. I know I can start it in Junit but that is not where I am.
I have some unit tests verifying requests made to this WireMock instance.
@BeforeAll
void beforeAll() {
//configure for the already started docker instance
WireMock.configureFor("localhost", 8081);
//this breaks the tests even in before each
WireMock.resetAllRequests();
}
I am trying to reset...