The class WebPubSubServiceClient
implements no interface, so how do I mock it?
I could use the decorator pattern like shown in this answer https://stackoverflow.com/a/74096260/2787333 but then I saw this in the documentation.
WebPubSubServiceClient()
Initializes a new instance of WebPubSubServiceClient for mocking.
Any suggestions how mocking can be done by using this default constructor?
My end goal is to make a mock that I can use to simulate a response from WebPubSubServiceClient.GetClientAccessUriAsync(...)
.