Moq is a strongly typed and minimalistic mocking framework for .NET.
I would like to mockup the RestClient class for test purposes public class DataServices : IDataServices { private readonly IRestClient _restClient; public …
c# unit-testing xamarin moq restsharpTrying to unit test my application using moq and unity, and I'm getting errors where my service is an interface …
unit-testing unity-container moq unity2.0I use Moq for my unit tests. To test internal interfaces I have to declare the InternalsVisibleTo attribute to the …
unit-testing moq obfuscationI want to verify some logs logged. I am using the asp.net core built-in ILogger, and inject it with …
c# unit-testing logging asp.net-core moqI want to test the following logic (this is obviously a stripped-down version of my method): public void myPublicMethod(params) { …
unit-testing mocking moq private-membersI'm trying to use Moq to mock a callback for the following method signature: ResponseHeader AddIncentives( Hs_transRow[] data, out …
c# unit-testing callback moq outI am using a library that uses out parameters in a function and I need to test my code using …
c# unit-testing mocking moq fluentvalidationI am working to mock up behaviors related to the StackExchange.Redis library, but can't figure out how to properly …
c# .net unit-testing moq stackexchange.redisTrying to do some controller unit-testing in my ASP.NET MVC 3 web application. My test goes like this: [TestMethod] public …
c# asp.net-mvc unit-testing moq asp.net-mvc-routing