MS test is a testing framework, it makes assertions. similar to nunit, xunit and mbunit.
rhino mocks is a mocking framework, it creates fake objects for interfaces and abstract classes.
the 2 solve different problems. together they are a powerful combination to drive out the design of the system.
if you want to assert that a function was called you will need to use a mocking framework like Rhino.Mocks, Moq or TypeMock. Rhino.Mocks, Moq require abstactions (interface, abstract or virtual). TypeMock does not have this restriction. it can mock any type of object, including static types/members.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.