I\'d like to test that every method with a known prefix in a specific class is called during a particular test.
I use RhinoMocks without problems for checking using AssertWasCalled if my method was called with simple parameters such as Arg.Is.Equal(1) etc.
By \"internal function\", I mean a function that is called from within the same module it is defined in.
I\'m trying to test my application, which is using the Microsoft Exchange Web Service dll to access an Exchange Server.
I\'m trying to use Ninject.MockingKernel.Moq. I\'ve 2 problems: I\'ve to register all the types I want to mock. If I don\'t do that, the parameterless constructor of my class is called and that\'s n
I am trying to test the following class开发者_如何学C using unittest and the mock library: class Connection(object):
I\'m still trying to get my head around mocking. Right now, I\'m trying to test my Save method on my UserService. As such, I\'m mocking out my IRepository which my UserService class uses.
W开发者_运维技巧hat\'s the difference between mocking classes and interfaces in Rhino Mocks?You can\'t mock concrete classes per se, unless the class is abstract or has virtual methods. You can fake t
How do I mock a property using NUnit? NOTE: I found this peripheral mocking answer to be extremely useful and repurposed it as a distinct question and answer entry here for others to find.
Is there an Objective-C version of Artifice? If not, how would I design/develop/create it? Related Questions