Hi,
First, thanks for the detailed output.
We will have to check this out.
:idea: Just a tip. It is better to write:
mockFILibrary.ExpectAndReturn("cmCreateDateRuleDays", false, 1).Args(_expectedRuleName, _expectedRuleDescription, _expectedDayShift, false, _expectedShiftConvention);
Just to be sure:
cmCreateDateRuleDays is static,
its signiture is (string,string,int,bool,string)
and it returns bool.
If this is true, I think that the problem is in one of the complex try/catch clauses that you have in this method. We will try to reproduce it.
Could you post the try/catch structure (i.e just the try/catch/finally parts of the code) of the cmCreateDateRuleDays method?