I read the question at What is the purpose of V开发者_JAVA百科erifiable() in Moq? and have this question in my mind:
There is a function: public class MyCacheClass : ICache { public void T GetObject<T>(Func<T> func)
I want to have a list of not-tested methods/classes but not sure how to get it. Please help.开发者_StackOverflow中文版
Wondering if its possible to Moq the Prism EventAggregator Let\'s take the EventAggregator Quickstart they have
I am trying to unit test an action filter I wrote. I want to mock the HttpClientCertificate but when I use MOQ I get exception. HttpClientCertificate doe开发者_StackOverflowsnt have a public default c
It is necessary to check implementation of \'MyMethod\' virtual method in the abstract \'MyAbstractClass\':
I have been looking at examples of mocking 开发者_Python百科using Moq and Rhino Mocks and all the examples seem to mock interfaces. Why is this?I have heard they can mock static classes, but what abou
I\'ve the following simplified code which describes my problem: public interface IMyUser { int Id { get; set; }
This post relates to two other posts, here and here. I\'m new to Unit Testing & Mocking. I have a test fixture that is trying to mock a HttpContext object including the response and request. I th
I\'m working on a unit test in a project using the MOQ-framework, C# 4.0, MVC2.0 The test is similar to the one below. But as soon as i run this test i\'m getting a strange error. I\'ve checked all t