MockerTestBase<(Of <(<'TComponent>)>)>..::..TestAllConstructorParameters Method
Tests all constructor parameters.
Namespace:
FastMoqAssembly: FastMoq.Core (in FastMoq.Core.dll)
Syntax
protected void TestAllConstructorParameters( Action<Action, string, string> createAction, Nullable<Func<ParameterInfo, Nullable<Object>>> defaultValue, Nullable<Func<ParameterInfo, Nullable<Object>>> validValue, BindingFlags bindingFlags )
Protected Sub TestAllConstructorParameters ( _ createAction As Action(Of Action, String, String), _ defaultValue As Nullable(Of Func(Of ParameterInfo, Nullable(Of Object))), _ validValue As Nullable(Of Func(Of ParameterInfo, Nullable(Of Object))), _ bindingFlags As BindingFlags _ )
protected: void TestAllConstructorParameters( Action<Action^, String^, String^>^ createAction, Nullable<Func<ParameterInfo^, Nullable<Object^>>^> defaultValue, Nullable<Func<ParameterInfo^, Nullable<Object^>>^> validValue, BindingFlags^ bindingFlags )
Parameters
- createAction
- Type: Action<(Of <(<'Action, String, String>)>)>
The action used for each parameter of each constructor.
- defaultValue
- Type: Nullable<(Of <(<'Func<(Of <(<'ParameterInfo, Nullable<(Of <(<'Object>)>)>>)>)>>)>)>
The default value used when testing the parameter.
- validValue
- Type: Nullable<(Of <(<'Func<(Of <(<'ParameterInfo, Nullable<(Of <(<'Object>)>)>>)>)>>)>)>
The valid value used when not testing the parameter.
- bindingFlags
- Type: BindingFlags
The binding flags.