Share

.NET MockObjects

File Release Notes and Changelog

Release Name: DotNetMock-0.7.0

Notes:

This is a big release because we have finally integrated the Dynamic & Static portions of the Mock Object framework.  For users of earlier versions, make sure to read MigratingDynamicMocksTo070.txt located in the docs directory for information about how the 0.7.0 release may affect you.

-Griffin

Changes: - Moved IMock.Expectation class to ExpectationMethod class - Moved ExpectationMethod.MethodName into property - Broke AbstractExpecattion into two classes, AbstractExpectation & AbstractStaticExpectation - Changed constructors for AbstractStaticExpectation to use constructor chaining - Removed ClearExpected & ClearActual calls from constructor of AbstractStaticExpectation - Removed this. reference from ExpectationMethod - Changed MethodName property to ExpectedMethodName property in ExpectationMethod - Modified ExpectationMethod to extend from AbstractExpectation. - Introduced Call->Verify concept in ExpectationMethod - Changed IMock to IDynamicMOck and also inherits IMockObject - Changed Mock & ScenarioMock to implement IDynamicMock - Removed Inner Assertion & inner Expectation classes from ScenarioMock - Combined DynamicMock & Mock into DynamicMock - DynamicMock now throw AssertionException instead of VerificationExceptions - Made ScenarioMock a subclass of DynamicMock, now DynamicScenarioMock - Changed DynamicMock.Verify() to virtual - Renamed DynamicScenarioMock to DynamicOrderedMock - Added Call( string ) to DynamicMock - Added docs to package