Thank you! I added that line just below where the mock was being created (var view = new Mock(); ) and it worked great. – jacksonakj Mar 8 '10 at 6:31 This tells the mock object to start tracking property values.
Otherwise it will forget values that are set. Documentation here: code.google. Com/p/moq/wiki/QuickStart#Properties Someone else with the same problem: tinyurl.Com/3y9x2gj – Helephant Jul 20 '10 at 17:18.
I am using Web Forms MVP to write an DotNetNuke user control. When the 'SubmitContactUs' event is raised in my unit test the presenter attempts to set the 'Message' property on the Modal. However the View.
Modal is null in the presenter. Shouldn't the Web Forms MVP framework automatically build a new View. Model object in the presenter?
It could be that the 'Arrange' portion of my test is missing something that the presenter needs. Any help would be appreciated.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.