I have a scenario like this:
form = MockRepository.GenerateMock<IAddAddressForm>();
mediator = new AddAddressMediator(form);
The mediator is the real object under test and needs to be able to set values for the "form" object.
But the only way I can see to set values for the form object is like this:
form.Stub(x=>x.FirstName).Return(item.FirstName)
I don't want to be doing that in my real code.
Am I missing the point of mocks?