Interface
IMockMixin

An implementation detail interface. Not intended for external usage.

Definition

Namespace:Telerik.JustMock.Core

Assembly:Telerik.JustMock.dll

Syntax:

cs-api-definition
public interface IMockMixin

Properties

DeclaringType

The type of the mock associated with this mixin.

Declaration

cs-api-definition
Type DeclaringType { get; }

Property Value

Type

DependentMocks

A collection of mocks that are dependent on this one. Dependent mocks are recursively asserted. Dependent mocks are added for example by arranging a call on this mock to return another mock.

Declaration

cs-api-definition
IList<object> DependentMocks { get; }

Property Value

IList<object>

ExternalizedMock

Set to the object for which this instance is an external mock mixin

Declaration

cs-api-definition
object ExternalizedMock { get; set; }

Property Value

object

FallbackBehaviors

Behaviors to process when there was no method mock for a dispatched invocation.

Declaration

cs-api-definition
IList<IBehavior> FallbackBehaviors { get; }

Property Value

IList<IBehavior>

IsInstanceConstructorMocked

True if the constructor of the associated instance should be mocked

Declaration

cs-api-definition
bool IsInstanceConstructorMocked { get; set; }

Property Value

bool

IsStaticConstructorMocked

True if the static constructor of the associated type should be mocked.

Declaration

cs-api-definition
bool IsStaticConstructorMocked { get; set; }

Property Value

bool

Originator

The repository that first created this mock mixin.

Declaration

cs-api-definition
MocksRepository Originator { get; }

Property Value

MocksRepository

Repository

The repository that created this mock, or the repository that made the last arrangement for this mock, if this mock has been used in different contexts.

Declaration

cs-api-definition
MocksRepository Repository { get; set; }

Property Value

MocksRepository

SupplementaryBehaviors

Behaviors that are processed after the behaviors for any method mock are processed.

Declaration

cs-api-definition
IList<IBehavior> SupplementaryBehaviors { get; }

Property Value

IList<IBehavior>