There is a great likelihood that both com.maciejwalkowiak.wiremock.spring.WireMock and com.github.tomakehurst.wiremock.client.WireMock classes will be imported into a single file which forces user to use one of them with full qualified name.
To avoid breaking change, there should be a new annotation introduced that will behave exactly the same as com.maciejwalkowiak.wiremock.spring.WireMock just with a different name.
There is a great likelihood that both
com.maciejwalkowiak.wiremock.spring.WireMock
andcom.github.tomakehurst.wiremock.client.WireMock
classes will be imported into a single file which forces user to use one of them with full qualified name.For example:
To avoid breaking change, there should be a new annotation introduced that will behave exactly the same as
com.maciejwalkowiak.wiremock.spring.WireMock
just with a different name.Ideas:
@InjectWireMock
@WireMocked
@WireMockInstance
Suggestions for name very welcome!