Mocking CountResponse in NEST 7.2.0


Our company are currently upgrading from NEST 6.4.2 to 7.2.0, and we've come across some breaking changes. We are using the Count-method, and in earlier versions this was virtual and possible to mock. Now, this method has been made non-virtual. Any idea of how I am supposed to mock this in my unit tests now?

Appreciate any help.


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.