Mocked Function using Moq being called in BUnit test
I am attempting to mock a public async method in C#, using Moq, as part of the testing setup for the rendering of a Blazor Component, but the code within the method that is being mocked is being called. This seems like a very straight forward setup so I am unclear as to why the mocking of this method is not functioning as intended.