|
From: Steve F. <st...@m3...> - 2003-11-07 22:47:24
|
Jeremy Dunck (6433) wrote: > I've been using Nmock's DynamicMock for a bit now, but have recently bumped > into what seems a severe limitation. > > I need to mock an object which has a property. I can't see anyway to set a > return for a property get, nor how to have the mock return it's set value on > subsequent gets. > > Am I missing something obvious? Are the properties virtual? It's annoying, but I don't think we can do non-virtual features. S. |