1. Dynamic event handling - provides a framework for
simple Expect...-driven events handling (creates a
listener for all events defined on given object and
allows to verify that expected events were indeed
raised).
2. Support for overloaded functions - allows to select
function to expect in case function is overloaded.
3. Implicit properties support that allows something
like:
// expect get_Name
mock.ExpectAndReturn("Name", "Roman");
// expect set_Name
mock.Expect("Name", "Jeffry");
4. Default returns:
// return 55 for 0 or more calls to GetAge.
mock.ExpectAndReturnDefault("GetAge", 55);
NOTE: Expectation is still satisfied if no call to
GetAge made at all.
5. ExpectNoCall is initially satisfied (Verify does
not throw an exception if no call were made).
I have all the features implemented for my needs
(everything is TDDed). I would like changes to be
integrated in the trunk.
Logged In: YES
user_id=397472
Sure, send the changes along, and I'll integrate them.