Skip to content

ICtorVerifier<T>.SetupParameter method

Provide an instance which will be used when the parameter will not be set to null.

csharp
public ICtorVerifier SetupParameter(string parameterName, object instance)
public ICtorVerifier SetupParameter(string parameterName, object instance)
parameterdescription
parameterNameThe parameter name.
instanceThe instance to use.

Return Value

The CtorVerifier for further configuration.

See Also