Provides static utilities to test constructors.
More...
Provides static utilities to test constructors.
◆ ShouldExpectNonNullParameterFor< TCheckingConstructorOf >()
void PeanutButter.TestUtils.Generic.ConstructorTestUtils.ShouldExpectNonNullParameterFor< TCheckingConstructorOf > |
( |
string | parameterName, |
|
|
Type | expectedParameterType ) |
|
static |
Tests that a single-constructor class expects a parameter by name and type and will throw an ArgumentException if that parameter is null.
- Parameters
-
parameterName | |
expectedParameterType | |
- Template Parameters
-
The documentation for this class was generated from the following file:
- source/TestUtils/PeanutButter.TestUtils.Generic/ConstructorTestUtils.cs