MockerTestBase<(Of <(<'TComponent>)>)> Constructor (Action<(Of <(<'Mocker>)>)>, Nullable<(Of <(<'Func<(Of <(<'Mocker, TComponent>)>)>>)>)>, Action<(Of <(<'TComponent>)>)>)
Initializes a new instance of the MockerTestBase<(Of <(<'TComponent>)>)> class.
Namespace:
FastMoqAssembly: FastMoq.Core (in FastMoq.Core.dll)
Syntax
protected MockerTestBase( Action<Mocker> setupMocksAction, Nullable<Func<Mocker, TComponent>> createComponentAction, Action<TComponent> createdComponentAction )
Parameters
- setupMocksAction
- Type: Action<(Of <(<'Mocker>)>)>
The action to set up the mocks before component creation.
- createComponentAction
- Type: Nullable<(Of <(<'Func<(Of <(<'Mocker, TComponent>)>)>>)>)>
The action to override component creation.
- createdComponentAction
- Type: Action<(Of <(<'TComponent>)>)>
The action to do after the component is created.