JustMock

In: Telerik.JustMock.dll
This namespace must be included to any JustMock test project.

Classes

  ClassDescription
Public classArg
Allows specification of a matching condition for an argument, rather a specific value.
Public classArg..::..OutRefResult<(Of <(<'T>)>)>
An implementation detail that allows passing ref arguments in C#
Public classArgExpr
Allows specification of a matching condition for an argument for a non-public method, rather a specific value.
Public classArgs
Specifies Mock.Assert to ignore any specific arguments.
Public classAttributesToAvoidReplicating
A list of attributes that must not be replicated when building a proxy. JustMock tries to copy all attributes from the types and methods being proxied, but that is not always a good idea for every type of attribute. Add additional attributes to this list that prevent the proxy from working correctly.
Public classDebugView
Provides introspection and tracing capabilities for ease of debugging failing tests.
Public classMock
Entry point for setting up and asserting mocks.
Public classOccurs
Defines filters for calls , used in conjunction with assert.
Public classParam
Defines parameter placeholders when the parameter type is one of the commonly occurring types, e.g. int. Example: Mock.Create<IEqualityComparer>(me => me.Equals(Arg.AnyObject, Arg.AnyObject) == Equals(Param._1, Param._2)); In the example, Param._1 and Param._2 are implicitly converted to System.Object.
Public classParam<(Of <(<'T>)>)>
Defines parameter placeholders when the parameter type is T.
Public classPrivateAccessor
Gives access to the non-public members of a type or instance. This class provides functionality similar to the one that exists in regular reflection classes with the added benefit that it can bypass essential security checks related to accessing non-public members through reflection. When the profiler is enabled, PrivateAccessor acquires additional power: - It can even be used to access all kinds of non-public members in Silverlight (and when running in partial trust in general). - All calls made through PrivateAccessor are always made with full trust (unrestricted) permissions.
Public classWait
Specifies the duration to wait before executing an event.

Structures

  StructureDescription
Public structureParam..::..EverythingExcept

Delegates

  DelegateDescription
Public delegateAction<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>)>)>
Encapsulates a method that has 10 parameters and does not return a value.
Public delegateAction<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>)>)>
Encapsulates a method that has 11 parameters and does not return a value.
Public delegateAction<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>)>)>
Encapsulates a method that has 12 parameters and does not return a value.
Public delegateAction<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>)>)>
Encapsulates a method that has 13 parameters and does not return a value.
Public delegateAction<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>)>)>
Encapsulates a method that has 14 parameters and does not return a value.
Public delegateAction<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>)>)>
Encapsulates a method that has 15 parameters and does not return a value.
Public delegateAction<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)>)>
Encapsulates a method that has 16 parameters and does not return a value.
Public delegateAction<(Of <(<'T1, T2, T3, T4, T5>)>)>
Encapsulates a method that has 5 parameters and does not return a value.
Public delegateAction<(Of <(<'T1, T2, T3, T4, T5, T6>)>)>
Encapsulates a method that has 6 parameters and does not return a value.
Public delegateAction<(Of <(<'T1, T2, T3, T4, T5, T6, T7>)>)>
Encapsulates a method that has 7 parameters and does not return a value.
Public delegateAction<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8>)>)>
Encapsulates a method that has 8 parameters and does not return a value.
Public delegateAction<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9>)>)>
Encapsulates a method that has 9 parameters and does not return a value.
Public delegateFunc<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>)>)>
Encapsulates a method that has 9 parameters and returns a value of the type specified by TResult parameter.
Public delegateFunc<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>)>)>
Encapsulates a method that has 10 parameters and returns a value of the type specified by TResult parameter.
Public delegateFunc<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>)>)>
Encapsulates a method that has 11 parameters and returns a value of the type specified by TResult parameter.
Public delegateFunc<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>)>)>
Encapsulates a method that has 12 parameters and returns a value of the type specified by TResult parameter.
Public delegateFunc<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>)>)>
Encapsulates a method that has 13 parameters and returns a value of the type specified by TResult parameter.
Public delegateFunc<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>)>)>
Encapsulates a method that has 14 parameters and returns a value of the type specified by TResult parameter.
Public delegateFunc<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>)>)>
Encapsulates a method that has 15 parameters and returns a value of the type specified by TResult parameter.
Public delegateFunc<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>)>)>
Encapsulates a method that has 16 parameters and returns a value of the type specified by TResult parameter.
Public delegateFunc<(Of <(<'T1, T2, T3, T4, T5, TResult>)>)>
Encapsulates a method that has 5 parameters and returns a value of the type specified by TResult parameter.
Public delegateFunc<(Of <(<'T1, T2, T3, T4, T5, T6, TResult>)>)>
Encapsulates a method that has 6 parameters and returns a value of the type specified by TResult parameter.
Public delegateFunc<(Of <(<'T1, T2, T3, T4, T5, T6, T7, TResult>)>)>
Encapsulates a method that has 7 parameters and returns a value of the type specified by TResult parameter.
Public delegateFunc<(Of <(<'T1, T2, T3, T4, T5, T6, T7, T8, TResult>)>)>
Encapsulates a method that has 8 parameters and returns a value of the type specified by TResult parameter.

Enumerations

  EnumerationDescription
Public enumerationBehavior
Specifies the behavior of the mock.
Public enumerationConstructor
Defines the behavior of target constructor.
Public enumerationRangeKind
Defines the kind of range value to consider.
Public enumerationStaticConstructor
Defines behavior of the static constructor.