I think I understand it a bit better now. Using the CallOriginal Behaviour (which, as opposed to what I said, is documented in the CHM, but I could not find it on the Web Documentation?) the call will be passed to the orginal by default.
But I think the documentation is confusing...
Under 'Stict Mocking' is says:
|In a loose mock, any call to a method that is not arranged, results in a call to the original method implementation.
That is not what I am experiencing...
Under the coumentation in the Behaviour Enumerator is stated:
Loose --> Specifies the mock as loose. This means by default it will behave like a stub or return default value
AFAI understand this,I get a default value when I call a method that is not arranged and that is what I'm seeing when I call IsElf in the example in my last post. I get a value of 'False'.
CallOriginal --> Specifies that by default all calls made on mock will invoke its corresponding original member unless some expecations is set.
When I set this behaviour everything works as expected.
I have a few questions left:
- Are my conclusion above right or am I missing a point (as usual<g>) here.
- Why is CallOriginal not the Default Behaviour...
Again, TIA for your time...