I am using RhinoMocks. Now I want to assert that some function was called, but I only care about one of the arguments. Can I do a AssertWasCalled where I only specify one argument?
I\'m writing unit tests using RhinoMocks for mocking, and now I\'m in need of some new functionality which I haven\'t used before.
In RhinoMocks or Moq, can properties on an object be set before the constructor is 开发者_Go百科called?
I\'m having trouble using Rhino Mocks to assert that a method was called (and ideally with a particular parameter).The Method is ILog.Debug(FormatMessageHandler) in Common.Logging 2.0 using the new la
Quite new to this mocking thing, I have a couple of questions. Correct me if I\'m wron开发者_Python百科g:
I have an object the references a bunch of Properties.Settings.Default... values and I need to stub these in the unit test for this object.
I am trying to setup unit tests for my Linq To SQL code.My code uses the System.Data.Linq.Table class (generated by the designer).
I have just crafted the following test using Rhino mocks. Does my test look valid and make sense to those more experienced with mocking?
I\'m trying to unit test file read operations. In this scenario I also need make sure that, if a particular user don\'t have read access he should get an exception...
I have a TimeMachine class which provides me current date/time values. The class looks like this: public class TimeMachine