Importing this namespace will enable the Protected() method on mocks, enabling expectations on protected members by specifying the member name as a string.
Classes
| Class | Description | |
|---|---|---|
| ItExpr |
Allows the specification of a matching condition for an
argument in a protected member setup, rather than a specific
argument value. "ItExpr" refers to the argument being matched.
| |
| ProtectedExtension |
Enables the Protected() method on Mock<(Of <(T>)>),
allowing setups to be set for protected members by using their
name as a string, rather than strong-typing them which is not possible
due to their visibility.
|
Interfaces
| Interface | Description | |
|---|---|---|
| IProtectedMock<(Of <(TMock>)>) |
Allows setups to be specified for protected members by using their
name as a string, rather than strong-typing them which is not possible
due to their visibility.
|