I am mocking interface IRule and set it up as follows
And using version  2011.2.713.2 all tests using the above works.
I just upgraded to version 2012.2.813.9 and now when I call a method that uses the mocks .Equals method (for example List.Contains(rule)) it throws the following exception.
Test method Baseclass_Tests.BusinessRules_Test.IsBroken_Test threw exception:
Telerik.JustMock.MockException: Could not call base for abstract Equals. Either remove the Behavior.CallOriginal specifier or add a setup for the expected call.
What do I need to do?
                                public static IRule MakeMockRule(string description, string rulename, string propname, RuleSeverity severity, bool isbroke)    {        IRule mockRule = Mock.Create<IRule>();        Mock.Arrange(() => mockRule.PropertyName).Returns(propname);        Mock.Arrange(() => mockRule.RuleName).Returns(rulename);        Mock.Arrange(() => mockRule.Severity).Returns(severity);        Mock.Arrange(() => mockRule.IsBroken).Returns(isbroke);        Mock.Arrange(() => mockRule.HandlesProperty(propname)).Returns(true);        Mock.Arrange(() => mockRule.Description).Returns(description);        return mockRule;    }I just upgraded to version 2012.2.813.9 and now when I call a method that uses the mocks .Equals method (for example List.Contains(rule)) it throws the following exception.
Test method Baseclass_Tests.BusinessRules_Test.IsBroken_Test threw exception:
Telerik.JustMock.MockException: Could not call base for abstract Equals. Either remove the Behavior.CallOriginal specifier or add a setup for the expected call.
What do I need to do?