TestClassExtensions..::..EnsureNullCheckThrown Method (Action, String, String, Action<(Of <(<'String>)>)>)

Ensures the null check thrown.

Namespace:  FastMoq.Extensions
Assembly:  FastMoq.Core (in FastMoq.Core.dll)

Syntax


public static void EnsureNullCheckThrown(
	Action action,
	string parameterName,
	string constructorName,
	Action<string> output
)
Public Shared Sub EnsureNullCheckThrown ( _
	action As Action, _
	parameterName As String, _
	constructorName As String, _
	output As Action(Of String) _
)
public:
static void EnsureNullCheckThrown(
	Action^ action, 
	String^ parameterName, 
	String^ constructorName, 
	Action<String^>^ output
)

Parameters

action
Type: Action
The action.
parameterName
Type: String
Name of the parameter.
constructorName
Type: String
Name of the constructor.
output
Type: Action<(Of <(<'String>)>)>
The output.

Exceptions


ExceptionCondition
ArgumentNullException