ICtorVerifier<T> interface
Ctor verifier for Verifying the constructor.
csharp
public interface ICtorVerifier<T>
public interface ICtorVerifier<T>
parameter | description |
---|---|
T | The type of the class the constructor is creating. |
Members
name | description |
---|---|
IgnoreParameter(…) | Configure a parameter to be ignored for verification. |
SetupParameter(…) | Provide an instance which will be used when the parameter will not be set to null. |
ShouldThrowArgumentNullException() | Calls all constructors matching the given configuration n times, where n is the number of verifiable parameters. Without any configuration all parameters which have no default value are verifiable. With every call one of the verifiable parameter is set to null and a ArgumentNullException is expected. |
See Also
- namespace Twizzar.Fixture.Verifier