Interface IFastMock
Non generic abstraction for a created mock instance. Named IFastMock to avoid collision with provider library IMock types.
Namespace: FastMoq.Providers
Assembly: FastMoq.Abstractions.dll
Syntax
public interface IFastMock
Properties
Instance
Gets the usable mocked instance.
Declaration
object Instance { get; }
Property Value
| Type | Description |
|---|---|
| object |
MockedType
Gets the type being mocked.
Declaration
Type MockedType { get; }
Property Value
| Type | Description |
|---|---|
| Type |
NativeMock
Gets the provider-specific underlying mock object.
Declaration
object NativeMock { get; }
Property Value
| Type | Description |
|---|---|
| object |
Methods
Reset()
Clears configured state and recorded invocations on the mock.
Declaration
void Reset()