Interface
INonPublicExpectation

Defines methods to mock non-public members.

Definition

Namespace:Telerik.JustMock.Expectations.Abstraction

Assembly:Telerik.JustMock.dll

Syntax:

cs-api-definition
public interface INonPublicExpectation

Properties

RefReturn

Non public ref return interface for mocking.

Declaration

cs-api-definition
INonPublicRefReturnExpectation RefReturn { get; }

Property Value

INonPublicRefReturnExpectation

Methods

Arrange(MethodBase, params object[])

Arranges a method for mocking.

Declaration

cs-api-definition
ActionExpectation Arrange(MethodBase method, params object[] args)

Parameters

method

MethodBase

Target method

args

object[]

Method arguments. Use Expr for predefined argument matchers.

Returns

ActionExpectation

Arrange(Type, string, Type[], params object[])

Arranges a method for mocking.

Declaration

cs-api-definition
ActionExpectation Arrange(Type targetType, string memberName, Type[] typeArguments, params object[] args)

Parameters

targetType

Type

Target type

memberName

string

Target member name

typeArguments

Type[]

Generic type arguments of the member specified by memberName

args

object[]

Method arguments. Use Expr for predefined argument matchers.

Returns

ActionExpectation

Arrange(Type, string, params object[])

Arranges a method for mocking.

Declaration

cs-api-definition
ActionExpectation Arrange(Type targetType, string memberName, params object[] args)

Parameters

targetType

Type

Target type

memberName

string

Target member name

args

object[]

Method arguments. Use Expr for predefined argument matchers.

Returns

ActionExpectation

Arrange(dynamic)

Arranges an expectation on a void method given using a dynamic wrapper built with Wrap().

Declaration

cs-api-definition
ActionExpectation Arrange(dynamic dynamicExpression)

Parameters

dynamicExpression

dynamic

An expression built using a wrapper returned by Wrap.

Returns

ActionExpectation

An expectation object that can further configure the arrangement

Example

var mock = Mock.NonPublic.Wrap(myobj); Mock.NonPublic.Arrange(mock.PrivateMethod(ArgExpr.IsAny<int>()).DoNothing(); Mock.NonPublic.Arrange(mock.Value = ArgExpr.IsAny<int>()).MustBeCalled();

var staticMock = Mock.NonPublic.WrapType(typeof(MyType)); Mock.NonPublic.Arrange(staticMock.PrivateMethod()).DoNothing();

Arrange(object, MethodInfo, params object[])

Setups a non-public method for mocking.

Declaration

cs-api-definition
ActionExpectation Arrange(object target, MethodInfo method, params object[] args)

Parameters

target

object

Target instance

method

MethodInfo

Method to setup taken from reflection.

args

object[]

Method arguments. Use Expr for predefined argument matchers.

Returns

ActionExpectation

Reference to setup actions calls

Arrange(object, string, Type[], params object[])

Arranges a method for mocking.

Declaration

cs-api-definition
ActionExpectation Arrange(object target, string memberName, Type[] typeArguments, params object[] args)

Parameters

target

object

Target instance

memberName

string

Member name

typeArguments

Type[]

Generic type arguments of the member specified by memberName

args

object[]

Method arguments. Use Expr for predefined argument matchers.

Returns

ActionExpectation

Reference to setup actions calls

Arrange(object, string, params object[])

Arranges a method for mocking.

Declaration

cs-api-definition
ActionExpectation Arrange(object target, string memberName, params object[] args)

Parameters

target

object

Target instance

memberName

string

Member name

args

object[]

Method arguments. Use Expr for predefined argument matchers.

Returns

ActionExpectation

Reference to setup actions calls

Arrange<T, TReturn>(string, Type[], params object[])

Arranges a method for mocking.

Declaration

cs-api-definition
FuncExpectation<TReturn> Arrange<T, TReturn>(string memberName, Type[] typeArguments, params object[] args)

Parameters

memberName

string

Target member name

typeArguments

Type[]

Generic type arguments of the member specified by memberName

args

object[]

Method arguments. Use Expr for predefined argument matchers.

Returns

FuncExpectation<TReturn>

Arrange<T, TReturn>(string, params object[])

Arranges a method for mocking.

Declaration

cs-api-definition
FuncExpectation<TReturn> Arrange<T, TReturn>(string memberName, params object[] args)

Parameters

memberName

string

Target member name

args

object[]

Method arguments. Use Expr for predefined argument matchers.

Returns

FuncExpectation<TReturn>

Arrange<T>(string, Type[], params object[])

Arranges a method for mocking.

Declaration

cs-api-definition
ActionExpectation Arrange<T>(string memberName, Type[] typeArguments, params object[] args)

Parameters

memberName

string

Target member name

typeArguments

Type[]

Generic type arguments of the member specified by memberName

args

object[]

Method arguments. Use Expr for predefined argument matchers.

Returns

ActionExpectation

Arrange<T>(string, params object[])

Arranges a method for mocking.

Declaration

cs-api-definition
ActionExpectation Arrange<T>(string memberName, params object[] args)

Parameters

memberName

string

Target member name

args

object[]

Method arguments. Use Expr for predefined argument matchers.

Returns

ActionExpectation

Arrange<TReturn>(MethodBase, params object[])

Arranges a method for mocking.

Declaration

cs-api-definition
FuncExpectation<TReturn> Arrange<TReturn>(MethodBase method, params object[] args)

Parameters

method

MethodBase

Target method

args

object[]

Method arguments. Use Expr for predefined argument matchers.

Returns

FuncExpectation<TReturn>

Arrange<TReturn>(Type, string, Type[], params object[])

Arranges a method for mocking.

Declaration

cs-api-definition
FuncExpectation<TReturn> Arrange<TReturn>(Type targetType, string memberName, Type[] typeArguments, params object[] args)

Parameters

targetType

Type

Target type

memberName

string

Target member name

typeArguments

Type[]

Generic type arguments of the member specified by memberName

args

object[]

Method arguments. Use Expr for predefined argument matchers.

Returns

FuncExpectation<TReturn>

Arrange<TReturn>(Type, string, params object[])

Arranges a method for mocking.

Declaration

cs-api-definition
FuncExpectation<TReturn> Arrange<TReturn>(Type targetType, string memberName, params object[] args)

Parameters

targetType

Type

Target type

memberName

string

Target member name

args

object[]

Method arguments. Use Expr for predefined argument matchers.

Returns

FuncExpectation<TReturn>

Arrange<TReturn>(dynamic)

Arranges an expectation on a non-void method given using a dynamic wrapper built with Wrap().

Declaration

cs-api-definition
FuncExpectation<TReturn> Arrange<TReturn>(dynamic dynamicExpression)

Parameters

dynamicExpression

dynamic

An expression built using a wrapper returned by Wrap.

Returns

FuncExpectation<TReturn>

An expectation object that can further configure the arrangement

Example

var mock = Mock.NonPublic.Wrap(myobj); Mock.NonPublic.Arrange<int>(mock.PrivateValue).Returns(123); Mock.NonPublic.Arrange<string>(mock.GetNamePrivate(123)).Returns("me");

Arrange<TReturn>(object, MethodInfo, params object[])

Setups a non-public method for mocking.

Declaration

cs-api-definition
FuncExpectation<TReturn> Arrange<TReturn>(object target, MethodInfo method, params object[] args)

Parameters

target

object

Target instance

method

MethodInfo

Method to setup taken from reflection.

args

object[]

Method arguments. Use Expr for predefined argument matchers.

Returns

FuncExpectation<TReturn>

Reference to setup actions calls

Arrange<TReturn>(object, string, Type[], params object[])

Arranges a method for mocking.

Declaration

cs-api-definition
FuncExpectation<TReturn> Arrange<TReturn>(object target, string memberName, Type[] typeArguments, params object[] args)

Parameters

target

object

Target instance.

memberName

string

Target member name

typeArguments

Type[]

Generic type arguments of the member specified by memberName

args

object[]

Method arguments. Use Expr for predefined argument matchers.

Returns

FuncExpectation<TReturn>

Arrange<TReturn>(object, string, params object[])

Arranges a method for mocking.

Declaration

cs-api-definition
FuncExpectation<TReturn> Arrange<TReturn>(object target, string memberName, params object[] args)

Parameters

target

object

Target instance.

memberName

string

Target member name

args

object[]

Method arguments. Use Expr for predefined argument matchers.

Returns

FuncExpectation<TReturn>

ArrangeSet(Type, string, object)

Arranges a non-public static property setter contained by "type" for mocking.

Declaration

cs-api-definition
ActionExpectation ArrangeSet(Type type, string propertyName, object value)

Parameters

type

Type

Type that contains the non-public static property

propertyName

string

Property name

value

object

Property value. Use Expr for predefined argument matchers.

Returns

ActionExpectation

Reference to setup actions calls

ArrangeSet(object, string, object)

Arranges a non-public property setter for mocking.

Declaration

cs-api-definition
ActionExpectation ArrangeSet(object target, string propertyName, object value)

Parameters

target

object

Target instance

propertyName

string

Property name

value

object

Property value. Use Expr for predefined argument matchers.

Returns

ActionExpectation

Reference to setup actions calls

ArrangeSet<T>(string, object)

Arranges a non-public static property setter contained by type parameter "T" for mocking.

Declaration

cs-api-definition
ActionExpectation ArrangeSet<T>(string propertyName, object value)

Parameters

propertyName

string

Property name

value

object

Property value. Use Expr for predefined argument matchers.

Returns

ActionExpectation

Reference to setup actions calls

Assert(MethodBase, Occurs, params object[])

Asserts the specified method that it is called as expected.

Declaration

cs-api-definition
void Assert(MethodBase method, Occurs occurs, params object[] args)

Parameters

method

MethodBase

Target method

occurs

Occurs

Specifies the number of times a call should occur.

args

object[]

Method arguments

Assert(MethodBase, params object[])

Asserts the specified method that it is called as expected.

Declaration

cs-api-definition
void Assert(MethodBase method, params object[] args)

Parameters

method

MethodBase

Target method

args

object[]

Method arguments

Assert(Type, string, Occurs, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert(Type targetType, string memberName, Occurs occurs, params object[] args)

Parameters

targetType

Type

Type of the target

memberName

string

Name of the member

occurs

Occurs

Specifies the number of times a call should occur.

args

object[]

Method arguments

Assert(Type, string, Type[], Occurs, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert(Type targetType, string memberName, Type[] typeArguments, Occurs occurs, params object[] args)

Parameters

targetType

Type

Type of the target

memberName

string

Name of the member

typeArguments

Type[]

Generic type arguments of the member specified by memberName

occurs

Occurs

Specifies the number of times a call should occur.

args

object[]

Method arguments

Assert(Type, string, Type[], params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert(Type targetType, string memberName, Type[] typeArguments, params object[] args)

Parameters

targetType

Type

Type of the target

memberName

string

Name of the member

typeArguments

Type[]

Generic type arguments of the member specified by memberName

args

object[]

Method arguments

Assert(Type, string, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert(Type targetType, string memberName, params object[] args)

Parameters

targetType

Type

Type of the target

memberName

string

Name of the member

args

object[]

Method arguments

Assert(dynamic, Args, Occurs, string)

Asserts an expectation given using a dynamic wrapper built with Wrap()

Declaration

cs-api-definition
void Assert(dynamic dynamicExpression, Args args, Occurs occurs, string message = null)

Parameters

dynamicExpression

dynamic

An expression built using a wrapper returned by Wrap.

args

Args

Additional arguments to clarify the assertion expression.

occurs

Occurs

Occurrence expectation to assert.

message

string

A message to display if the assertion fails.

Assert(dynamic, Occurs, string)

Asserts an expectation given using a dynamic wrapper built with Wrap()

Declaration

cs-api-definition
void Assert(dynamic dynamicExpression, Occurs occurs, string message = null)

Parameters

dynamicExpression

dynamic

An expression built using a wrapper returned by Wrap.

occurs

Occurs

Occurrence expectation to assert.

message

string

A message to display if the assertion fails.

Assert(object, MethodInfo, Occurs, params object[])

Asserts the specified method that it is called as expected.

Declaration

cs-api-definition
void Assert(object target, MethodInfo method, Occurs occurs, params object[] args)

Parameters

target

object

Target mock

method

MethodInfo

Method to assert taken from reflection.

occurs

Occurs

Specifies the number of times a call should occur.

args

object[]

Method arguments

Assert(object, MethodInfo, params object[])

Asserts the specified method that it is called as expected.

Declaration

cs-api-definition
void Assert(object target, MethodInfo method, params object[] args)

Parameters

target

object

Target mock

method

MethodInfo

Method to assert taken from reflection.

args

object[]

Method arguments

Assert(object, string, Occurs, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert(object target, string memberName, Occurs occurs, params object[] args)

Parameters

target

object

Target mock

memberName

string

Name of the member

occurs

Occurs

Specifies the number of times a call should occur.

args

object[]

Method arguments

Assert(object, string, Type[], Occurs, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert(object target, string memberName, Type[] typeArguments, Occurs occurs, params object[] args)

Parameters

target

object

Target mock

memberName

string

Name of the member

typeArguments

Type[]

Generic type arguments of the member specified by memberName

occurs

Occurs

Specifies the number of times a call should occur.

args

object[]

Method arguments

Assert(object, string, Type[], params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert(object target, string memberName, Type[] typeArguments, params object[] args)

Parameters

target

object

Target mock

memberName

string

Name of the member

typeArguments

Type[]

Generic type arguments of the member specified by memberName

args

object[]

Method arguments

Assert(object, string, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert(object target, string memberName, params object[] args)

Parameters

target

object

Target mock

memberName

string

Name of the member

args

object[]

Method arguments

Assert<T, TReturn>(string, Occurs, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert<T, TReturn>(string memberName, Occurs occurs, params object[] args)

Parameters

memberName

string

Name of the member

occurs

Occurs

Specifies the number of times a call should occur.

args

object[]

Method arguments

Assert<T, TReturn>(string, Type[], Occurs, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert<T, TReturn>(string memberName, Type[] typeArguments, Occurs occurs, params object[] args)

Parameters

memberName

string

Name of the member

typeArguments

Type[]

Generic type arguments of the member specified by memberName

occurs

Occurs

Specifies the number of times a call should occur.

args

object[]

Method arguments

Assert<T, TReturn>(string, Type[], params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert<T, TReturn>(string memberName, Type[] typeArguments, params object[] args)

Parameters

memberName

string

Name of the member

typeArguments

Type[]

Generic type arguments of the member specified by memberName

args

object[]

Method arguments

Assert<T, TReturn>(string, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert<T, TReturn>(string memberName, params object[] args)

Parameters

memberName

string

Name of the member

args

object[]

Method arguments

Assert<T>(string, Occurs, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert<T>(string memberName, Occurs occurs, params object[] args)

Parameters

memberName

string

Name of the member

occurs

Occurs

Specifies the number of times a call should occur.

args

object[]

Method arguments

Assert<T>(string, Type[], Occurs, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert<T>(string memberName, Type[] typeArguments, Occurs occurs, params object[] args)

Parameters

memberName

string

Name of the member

typeArguments

Type[]

Generic type arguments of the member specified by memberName

occurs

Occurs

Specifies the number of times a call should occur.

args

object[]

Method arguments

Assert<T>(string, Type[], params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert<T>(string memberName, Type[] typeArguments, params object[] args)

Parameters

memberName

string

Name of the member

typeArguments

Type[]

Generic type arguments of the member specified by memberName

args

object[]

Method arguments

Assert<T>(string, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert<T>(string memberName, params object[] args)

Parameters

memberName

string

Name of the member

args

object[]

Method arguments

Assert<TReturn>(Type, string, Occurs, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert<TReturn>(Type targetType, string memberName, Occurs occurs, params object[] args)

Parameters

targetType

Type

Type of the target

memberName

string

Name of the member

occurs

Occurs

Specifies the number of times a call should occur.

args

object[]

Method arguments

Assert<TReturn>(Type, string, Type[], Occurs, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert<TReturn>(Type targetType, string memberName, Type[] typeArguments, Occurs occurs, params object[] args)

Parameters

targetType

Type

Type of the target

memberName

string

Name of the member

typeArguments

Type[]

Generic type arguments of the member specified by memberName

occurs

Occurs

Specifies the number of times a call should occur.

args

object[]

Method arguments

Assert<TReturn>(Type, string, Type[], params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert<TReturn>(Type targetType, string memberName, Type[] typeArguments, params object[] args)

Parameters

targetType

Type

Type of the target

memberName

string

Name of the member

typeArguments

Type[]

Generic type arguments of the member specified by memberName

args

object[]

Method arguments

Assert<TReturn>(Type, string, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert<TReturn>(Type targetType, string memberName, params object[] args)

Parameters

targetType

Type

Type of the target

memberName

string

Name of the member

args

object[]

Method arguments

Assert<TReturn>(object, string, Occurs, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert<TReturn>(object target, string memberName, Occurs occurs, params object[] args)

Parameters

target

object

Target mock

memberName

string

Name of the member

occurs

Occurs

Specifies the number of times a call should occur.

args

object[]

Method arguments

Assert<TReturn>(object, string, Type[], Occurs, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert<TReturn>(object target, string memberName, Type[] typeArguments, Occurs occurs, params object[] args)

Parameters

target

object

Target mock

memberName

string

Name of the member

typeArguments

Type[]

Generic type arguments of the member specified by memberName

occurs

Occurs

Specifies the number of times a call should occur.

args

object[]

Method arguments

Assert<TReturn>(object, string, Type[], params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert<TReturn>(object target, string memberName, Type[] typeArguments, params object[] args)

Parameters

target

object

Target mock

memberName

string

Name of the member

typeArguments

Type[]

args

object[]

Method arguments

Assert<TReturn>(object, string, params object[])

Asserts the specified member that it is called as expected.

Declaration

cs-api-definition
void Assert<TReturn>(object target, string memberName, params object[] args)

Parameters

target

object

Target mock

memberName

string

Name of the member

args

object[]

Method arguments

GetTimesCalled(MethodBase, params object[])

Returns the number of times the specified member was called.

Declaration

cs-api-definition
int GetTimesCalled(MethodBase method, params object[] args)

Parameters

method

MethodBase

Target method

args

object[]

Method arguments

Returns

int

Number of calls.

GetTimesCalled(Type, string, Type[], params object[])

Returns the number of times the specified member was called.

Declaration

cs-api-definition
int GetTimesCalled(Type type, string memberName, Type[] typeArguments, params object[] args)

Parameters

type

Type

Type of the target

memberName

string

Name of the member

typeArguments

Type[]

Generic type arguments of the member specified by memberName

args

object[]

Method arguments

Returns

int

Number of calls.

GetTimesCalled(Type, string, params object[])

Returns the number of times the specified member was called.

Declaration

cs-api-definition
int GetTimesCalled(Type type, string memberName, params object[] args)

Parameters

type

Type

Type of the target

memberName

string

Name of the member

args

object[]

Method arguments

Returns

int

Number of calls.

GetTimesCalled(object, MethodInfo, params object[])

Returns the number of times the specified member was called.

Declaration

cs-api-definition
int GetTimesCalled(object target, MethodInfo method, params object[] args)

Parameters

target

object

Target mock

method

MethodInfo

Method taken from reflection

args

object[]

Method arguments

Returns

int

Number of calls.

GetTimesCalled(object, string, Type[], params object[])

Returns the number of times the specified member was called.

Declaration

cs-api-definition
int GetTimesCalled(object target, string memberName, Type[] typeArguments, params object[] args)

Parameters

target

object

Target mock

memberName

string

Name of the member

typeArguments

Type[]

Generic type arguments of the member specified by memberName

args

object[]

Method arguments

Returns

int

Number of calls.

GetTimesCalled(object, string, params object[])

Returns the number of times the specified member was called.

Declaration

cs-api-definition
int GetTimesCalled(object target, string memberName, params object[] args)

Parameters

target

object

Target mock

memberName

string

Name of the member

args

object[]

Method arguments

Returns

int

Number of calls.

MakePrivateAccessor(object)

Creates an accessor object that can invoke non-public methods and get/set non-public properties and fields. Equivalent to

new PrivateAccessor(instance)
.

Declaration

cs-api-definition
PrivateAccessor MakePrivateAccessor(object instance)

Parameters

instance

object

Instance to which non-public access will be given.

Returns

PrivateAccessor

Non-public accessor.

MakeStaticPrivateAccessor(Type)

Creates an accessor object that can invoke static (Shared in Visual Basic) non-public methods and static get/set non-public properties and fields. Equivalent to

PrivateAccessor.ForType(type)
.

Declaration

cs-api-definition
PrivateAccessor MakeStaticPrivateAccessor(Type type)

Parameters

type

Type

Type whose static members will be given non-public access to.

Returns

PrivateAccessor

Non-public accessor.

Raise(EventInfo, params object[])

Raises a static event specified using reflection. If the event is declared on a C# or VB class and has the default implementation for add/remove, then that event can also be raised using this method, even with the profiler off.

Declaration

cs-api-definition
void Raise(EventInfo eventInfo, params object[] args)

Parameters

eventInfo

EventInfo

The event to raise.

args

object[]

Arguments to pass to the event handlers.

Raise(Type, string, params object[])

Raises a static event by name. If the event is declared on a C# or VB class and has the default implementation for add/remove, then that event can also be raised using this method, even with the profiler off.

Declaration

cs-api-definition
void Raise(Type type, string eventName, params object[] args)

Parameters

type

Type

The type on which the event is declared.

eventName

string

The name of event to raise.

args

object[]

Arguments to pass to the event handlers.

Raise(object, EventInfo, params object[])

Raises an event specified using reflection. If the event is declared on a C# or VB class and has the default implementation for add/remove, then that event can also be raised using this method, even with the profiler off.

Declaration

cs-api-definition
void Raise(object instance, EventInfo eventInfo, params object[] args)

Parameters

instance

object

Instance on which to raise the event.

eventInfo

EventInfo

The event to raise.

args

object[]

Arguments to pass to the event handlers.

Raise(object, string, params object[])

Raises an event by name. If the event is declared on a C# or VB class and has the default implementation for add/remove, then that event can also be raised using this method, even with the profiler off.

Declaration

cs-api-definition
void Raise(object instance, string eventName, params object[] args)

Parameters

instance

object

Instance on which to raise the event.

eventName

string

The name of event to raise.

args

object[]

Arguments to pass to the event handlers.

Wrap(object)

Returns a dynamic wrapper of the given object that can be used to arrange non-public instance members on the object.

Declaration

cs-api-definition
dynamic Wrap(object instance)

Parameters

instance

object

The object to wrap.

Returns

dynamic

A wrapper that can be passed to Arrange.

WrapType(Type)

Returns a dynamic wrapper of the given type that can be used to arrange non-public static members on the type.

Declaration

cs-api-definition
dynamic WrapType(Type type)

Parameters

type

Type

The type to wrap.

Returns

dynamic

A wrapper that can be passed to Arrange.

In this article
DefinitionPropertiesRefReturnMethodsArrange(MethodBase, params object[])Arrange(Type, string, Type[], params object[])Arrange(Type, string, params object[])Arrange(dynamic)Arrange(object, MethodInfo, params object[])Arrange(object, string, Type[], params object[])Arrange(object, string, params object[])Arrange<T, TReturn>(string, Type[], params object[])Arrange<T, TReturn>(string, params object[])Arrange<T>(string, Type[], params object[])Arrange<T>(string, params object[])Arrange<TReturn>(MethodBase, params object[])Arrange<TReturn>(Type, string, Type[], params object[])Arrange<TReturn>(Type, string, params object[])Arrange<TReturn>(dynamic)Arrange<TReturn>(object, MethodInfo, params object[])Arrange<TReturn>(object, string, Type[], params object[])Arrange<TReturn>(object, string, params object[])ArrangeSet(Type, string, object)ArrangeSet(object, string, object)ArrangeSet<T>(string, object)Assert(MethodBase, Occurs, params object[])Assert(MethodBase, params object[])Assert(Type, string, Occurs, params object[])Assert(Type, string, Type[], Occurs, params object[])Assert(Type, string, Type[], params object[])Assert(Type, string, params object[])Assert(dynamic, Args, Occurs, string)Assert(dynamic, Occurs, string)Assert(object, MethodInfo, Occurs, params object[])Assert(object, MethodInfo, params object[])Assert(object, string, Occurs, params object[])Assert(object, string, Type[], Occurs, params object[])Assert(object, string, Type[], params object[])Assert(object, string, params object[])Assert<T, TReturn>(string, Occurs, params object[])Assert<T, TReturn>(string, Type[], Occurs, params object[])Assert<T, TReturn>(string, Type[], params object[])Assert<T, TReturn>(string, params object[])Assert<T>(string, Occurs, params object[])Assert<T>(string, Type[], Occurs, params object[])Assert<T>(string, Type[], params object[])Assert<T>(string, params object[])Assert<TReturn>(Type, string, Occurs, params object[])Assert<TReturn>(Type, string, Type[], Occurs, params object[])Assert<TReturn>(Type, string, Type[], params object[])Assert<TReturn>(Type, string, params object[])Assert<TReturn>(object, string, Occurs, params object[])Assert<TReturn>(object, string, Type[], Occurs, params object[])Assert<TReturn>(object, string, Type[], params object[])Assert<TReturn>(object, string, params object[])GetTimesCalled(MethodBase, params object[])GetTimesCalled(Type, string, Type[], params object[])GetTimesCalled(Type, string, params object[])GetTimesCalled(object, MethodInfo, params object[])GetTimesCalled(object, string, Type[], params object[])GetTimesCalled(object, string, params object[])MakePrivateAccessor(object)MakeStaticPrivateAccessor(Type)Raise(EventInfo, params object[])Raise(Type, string, params object[])Raise(object, EventInfo, params object[])Raise(object, string, params object[])Wrap(object)WrapType(Type)
Not finding the help you need?
Contact Support