Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 AbstractExpectation, Rhino. Mocks. Expectations. AbstractExpectation
 ActionOnMethodNotSpesified, Rhino. Mocks. Expectations. AbstractExpectation
 AddActualCall
 AddRecorder
 AddToRepeatableMethods
 And, Rhino. Mocks. Constraints.And
 Any
 AnyArgsExpectation, Rhino. Mocks. Expectations. AnyArgsExpectation
 Anything, Is
 AppendNextExpected, Rhino. Mocks. MethodRecorders. UnorderedMethodRecorder
 ArgsEqualExpectation, Rhino. Mocks. Expectations. ArgsEqualExpectation
 AssertDelegateArgumentsMatchMethod, Rhino. Mocks. Expectations. AbstractExpectation
 AssertExpectationOnPropertyWithGetterAndSetter, Rhino. Mocks. Impl. MethodOptions
 AssertMethodImplementationExists, Rhino. Mocks. Impl. MethodOptions
 AssertReturnTypeMatch, Rhino. Mocks. Expectations. AbstractExpectation
 AssertTypesMatches, Rhino. Mocks. Expectations. AbstractExpectation
B
 BackToRecord, MockRepository
 BuildVerificationFailureMessage, Rhino. Mocks. Impl. ReplayMockState
C
 CalcExpectedAndActual, Rhino. Mocks. MethodRecorders. UnorderedMethodRecorder. CalcExpectedAndActual
 Calculate, Rhino. Mocks. MethodRecorders. UnorderedMethodRecorder. CalcExpectedAndActual
 Call
 Callback
 CallbackExpectation, Rhino. Mocks. Expectations. CallbackExpectation
 CallOriginalMethod
 CollectionEqual, Rhino. Mocks. Constraints. CollectionEqual
 ComparingConstraint, Rhino. Mocks. Constraints. ComparingConstraint
 Constraints
 ConstraintsExpectation, Rhino. Mocks. Expectations. ConstraintsExpectation
 ConstraintsMatchMethod, Rhino. Mocks. Expectations. ConstraintsExpectation
 Contains
 CreateCallableInterfaceFromDelegate, Rhino. Mocks. Impl. DelegateTargetInterfaceCreator
 CreateErrorMessage, Rhino. Mocks. Expectations. AbstractExpectation
 CreateMethodExpectation, Rhino. Mocks. Impl. CreateMethodExpectation
 CreateMethodExpectationForSetupResult, Rhino. Mocks. Impl. CreateMethodExpectationForSetupResult
 CreateMock, MockRepository
 CreateMock<T>, MockRepository Generic Methods
protected AbstractExpectation(MethodInfo method)
private void ActionOnMethodNotSpesified()
public void AddActualCall()
void AddActualCall()
void AddRecorder(IMethodRecorder recorder)
public void AddRecorder(IMethodRecorder recorder)
void AddToRepeatableMethods(object proxy,
MethodInfo method,
IExpectation expectation)
public void AddToRepeatableMethods(object proxy,
MethodInfo method,
IExpectation expectation)
public And(AbstractConstraint c1,
AbstractConstraint c2)
public IMethodOptions Any()
IMethodOptions Any()
Repeat the method any number of times.
public AnyArgsExpectation(MethodInfo method)
This constraint always succeeds
private void AppendNextExpected(object proxy,
MethodInfo method,
StringBuilder sb)
public ArgsEqualExpectation(MethodInfo method,
object[] expectedArgs)
protected void AssertDelegateArgumentsMatchMethod(Delegate callback)
private void AssertExpectationOnPropertyWithGetterAndSetter()
private void AssertMethodImplementationExists()
private void AssertReturnTypeMatch(Delegate value)
private void AssertTypesMatches(object value)
Moves the mocked object back to record state.
private StringBuilder BuildVerificationFailureMessage(IExpectation expectation)
public CalcExpectedAndActual(UnorderedMethodRecorder parent,
object proxy,
MethodInfo method,
object[] args)
private void Calculate(object proxy,
MethodInfo method,
object[] args)
Get the method options for the last method call, which usually will be a method call or property that is located inside the Call.
public virtual IMethodOptions Call(object ignored)
public override IMethodOptions Call(object ignored)
IMethodOptions Call(object ignored)
Sets a callback delegate to be called when this method is called.
public IMethodOptions Callback(Delegate callback)
IMethodOptions Callback(Delegate callback)
Sets a callback delegate to be called when this method is called.
public CallbackExpectation(IExpectation expectation,
Delegate callback)
public void CallOriginalMethod()
void CallOriginalMethod()
Call the original method on the class, bypassing the mocking layers.
public CollectionEqual(ICollection collection)
public ComparingConstraint(IComparable compareTo,
bool largerThan,
bool andEqual)
Sets the contraints on this method parameters.
public IMethodOptions Constraints(params AbstractConstraint[] constraints)
IMethodOptions Constraints(params AbstractConstraint[] constraints)
Sets the contraints on this method parameters.
public ConstraintsExpectation(MethodInfo method,
AbstractConstraint[] constraints)
private void ConstraintsMatchMethod()
public Contains(string innerString)
The parameter contains the specified string
private Type CreateCallableInterfaceFromDelegate(Type delegateType)
protected string CreateErrorMessage(MethodInfo method,
object[] args)
public CreateMethodExpectation(IMockedObject mockedObject,
object mockedInstance)
public CreateMethodExpectationForSetupResult(IMockedObject mockedObject,
object mockedInstance)
Create a mock object with strict semantics.
Create a mock object of type T with strict semantics.