What is the main difference between these following two ways to give a method some fake implementation?
Is it correct that Rhino Mocks stubs and mocks are only good for interfaces, not concrete classes? I spent quite a time trying to make this piece of code working. I did not expect the stubbed pubSubCl
I\'m using RR for mocking and stubbing in RSpec, and I\'ve run across a situation where I\'d like to stub a method from a super class of a controller that sets some instance variables. I can work out
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.