Rhino. Mocks. Impl. MethodOptionsRhino.Mocks.Impl.MethodOptions |
expectation| private IExpectation expectation |
expectationReplaced| private bool expectationReplaced |
repository| private MockRepository repository |
record| private readonly RecordMockState record |
proxy| private IMockedObject proxy |
Repeat| public IRepeat Repeat { get } |
MethodOptions| public MethodOptions( | MockRepository | repository, | | RecordMockState | record, | | IMockedObject | proxy, | | IExpectation | expectation | ) |
|
Constraints| public IMethodOptions Constraints( | params | AbstractConstraint[] | constraints | ) |
|
Callback| public IMethodOptions Callback( | Delegate | callback | ) |
|
Do| public IMethodOptions Do( | Delegate | action | ) |
|
Return| public IMethodOptions Return( | object | objToReturn | ) |
|
Throw| public IMethodOptions Throw( | Exception | exception | ) |
|
IgnoreArguments| public IMethodOptions IgnoreArguments() |
CallOriginalMethod| public void CallOriginalMethod() |
CallOriginalMethod| public IMethodOptions CallOriginalMethod( | OriginalCallOptions | options | ) |
|
PropertyBehavior| public IMethodOptions PropertyBehavior() |
GetEventRaiser| public IEventRaiser GetEventRaiser() |
OutRef| public IMethodOptions OutRef( | params | object[] | parameters | ) |
|
AssertExpectationOnPropertyWithGetterAndSetter| private void AssertExpectationOnPropertyWithGetterAndSetter() |
AssertLastMethodWasEventAddOrRemove| private void AssertLastMethodWasEventAddOrRemove() |
GetPropertyFromMethod| private PropertyInfo GetPropertyFromMethod( | MethodInfo | method | ) |
|
AssertMethodImplementationExists| private void AssertMethodImplementationExists() |
ReplaceExpectation| private void ReplaceExpectation( | IExpectation | anyArgsExpectation | ) |
|
Twice| public IMethodOptions Twice() |
Once| public IMethodOptions Once() |
AtLeastOnce| public IMethodOptions AtLeastOnce() |
Never| public IMethodOptions Never() |
Message| public IMethodOptions Message( | string | documentationMessage | ) |
|
Any| public IMethodOptions Any() |
Times| public IMethodOptions Times( | int | min, | | int | max | ) |
|
Times| public IMethodOptions Times( | int | count | ) |
|
|