|
From: <st...@m3...> - 2003-11-14 09:35:54
|
On 14 November, 2003, Mike Bresnahan wrote:
It's true we're having problems with properties, but in this case
> registry.ExpectAndReturn("get_LocalMachine", ...
should be
registry.ExpectAndReturn("LocalMachine", ...
This is why we're having problems, because the library sometimes gets confu=
sed between gets and puts.
Also, you don't need to cast the mock instances when putting them into Exce=
ptAndReturn unless you want to be explicit.
S.
|