MockerTestBase<(Of <(<'TComponent>)>)> Members

The MockerTestBase<(Of <(<'TComponent>)>)> type exposes the following members.

Constructors


  Name Description
Protected method MockerTestBase<(Of <(<'TComponent>)>)>()()()()
Create instance with default actions and no extra setup. See other constructors to set Mocks before instantiation of the Component.
Protected method MockerTestBase<(Of <(<'TComponent>)>)>(Action<(Of <<'(Mocker>)>>))
Protected method MockerTestBase<(Of <(<'TComponent>)>)>(Action<(Of <<'(Mocker>)>>), Func<(Of <<'(Mocker, TComponent>)>>))
Protected method MockerTestBase<(Of <(<'TComponent>)>)>(Action<(Of <<'(Mocker>)>>), Action<(Of <<'(TComponent>)>>))
Protected method MockerTestBase<(Of <(<'TComponent>)>)>(Func<(Of <<'(Mocker, TComponent>)>>))
Protected method MockerTestBase<(Of <(<'TComponent>)>)>(Func<(Of <<'(Mocker, TComponent>)>>), Action<(Of <<'(TComponent>)>>))
Protected method MockerTestBase<(Of <(<'TComponent>)>)>(Action<(Of <<'(TComponent>)>>))
Protected method MockerTestBase<(Of <(<'TComponent>)>)>(Boolean)
Create instance and setting mock resolution. Mock resolution is on by default. When it is off, it may not be able to fill in properties or other injections of components.
Protected method MockerTestBase<(Of <(<'TComponent>)>)>(Action<(Of <<'(Mocker>)>>), Nullable<(Of <<'(Func<(Of <<'(Mocker, TComponent>)>>)>)>>), Action<(Of <<'(TComponent>)>>))
Initializes a new instance of the MockerTestBase<(Of <(<'TComponent>)>)> class.
Protected method MockerTestBase<(Of <(<'TComponent>)>)>(array<Type>[]()[][])
Create instance using the component constructor that matches the type parameters.
Protected method MockerTestBase<(Of <(<'TComponent>)>)>(Action<(Of <<'(Mocker>)>>), Action<(Of <<'(TComponent>)>>), array<Type>[]()[][])
Initializes a new instance of the MockerTestBase<(Of <(<'TComponent>)>)> class.

Properties


  Name Description
Protected property Component
Gets or sets the component under test.
Protected property CreateComponentAction
Gets or sets the create component action. This action is run whenever the component is created.
Protected property CreatedComponentAction
Gets or sets the created component action. This action is run after the component is created.
Protected property CustomMocks
Gets or sets the custom mocks. These are added whenever the component is created.
Protected property Mocks
Gets the Mocker.
Protected property SetupMocksAction
Gets or sets the setup mocks action. This action is run before the component is created.