/// <summary> /// Default Constructor /// </summary> /// <param name="methodName">Method name to expect</param> /// <param name="returnValue">return value when expectation is called</param> /// <param name="argumentExpectations">Expectations on the arguments</param> /// <param name="expectedException">Exception to throw when called.</param> /// <param name="expectationType">Type of expectation</param> public ExpectationMethod( string methodName, object returnValue, object[] argumentExpectations, Exception expectedException, ExpectationMethodType expectationType ) { _expectedMethodName = methodName; _argumentExpectations = argumentExpectations; _expectedReturnValue = returnValue; _expectedException = expectedException; _expectationType = expectationType; }