[RhinoMocks] Re: System.TypeLoadException when using MockRepository

2009-01-19 Thread Colin Desmond
We're using 3.5 SP1. When I rewrite the interface as C# it is happy. I'll try playing with the C++/CLI syntax a little and see if I can get it to work. Colin On Jan 18, 9:15 pm, Ayende Rahien aye...@ayende.com wrote: what version of the runtime?if you write the same thing in C#, does it cause

[RhinoMocks] Set only properties

2009-01-19 Thread Colin Desmond
In the fluent syntax is it possible to test whether a set only property (not get method defined) is called. I am not too bothered about the parameters being passed. So far I have tried: m_contactPresenter.ContactAdapter.AssertWasCalled(a = a.Names); and Expect.Call

[RhinoMocks] Re: System.TypeLoadException when using MockRepository

2009-01-19 Thread Colin Desmond
:32 am, Colin Desmond colin.desm...@btopenworld.com wrote: We're using 3.5 SP1. When I rewrite the interface as C# it is happy. I'll try playing with the C++/CLI syntax a little and see if I can get it to work. Colin On Jan 18, 9:15 pm, Ayende Rahien aye...@ayende.com wrote: what version

[RhinoMocks] Re: Set only properties

2009-01-19 Thread Colin Desmond
Excellent, thank you Phil. Colin On Jan 19, 3:52 pm, Phil philbol...@gmail.com wrote: try: m_contactPresenter.ContactAdapter.AssertWasCalled(a = a.Names = null); On Jan 19, 3:03 am, Colin Desmond colin.desm...@btopenworld.com wrote: In the fluent syntax is it possible to test whether