Create a mock object with from a class that defaults to calling the class methods if no expectation is set on the method.
Functions
CreateMock<T>
Create a mock object of type T with strict semantics. Strict semantics means that any call that wasn’t explicitly recorded is considered an error and would cause an exception to be thrown.
DynamicMock<T>
Create a mock object of type T with dynamic semantics. Dynamic semantics means that any call that wasn’t explicitly recorded is accepted and a null or zero is returned (if there is a return value).
PartialMock
Create a mock object with from a class that defaults to calling the class methods if no expectation is set on the method.