Expect 1 set of a Property and mock throwing an exception
Namespace: TypeMock
Assembly: TypeMock (in TypeMock.dll) Version: 9.3.8.0 (9.3.8.0)
Syntax
Parameters
- property
- Type: SystemString
Property Name - ex
- Type: SystemException
Mocked Exception
Return Value
Type: IPropertyParametersCan Check Property value, see IPropertyParameters
Exceptions
| Exception | Condition |
|---|---|
| TypeMockException | If property is not found |
See Also