New to Telerik JustMock? Start a free 30-day trial

Interface providing methods for setting up mock instance.

Definition

Methods

Invokes the specified constructor.

C#
IFluentConfig<T> CallConstructor(Expression<Func<T>> expression)
Parameters:expressionExpression<Func<T>>Returns:

IFluentConfig<T>

Reference to IFluentConfig<T>

Implements interface to the target mock.

C#
IFluentConfig<T> Implements<TInterface>()
Returns:

IFluentConfig<T>

Reference to IFluentConfig<T>