Expect unlimited get of a Property and always mock throwing an exception
Namespace: TypeMock
Assembly: TypeMock (in TypeMock.dll) Version: 9.3.6.0 (9.3.6.0)
Syntax
Parameters
- property
- Type: SystemString
Property Name - ex
- Type: SystemException
Mocked Exception
Implements
IMockControlExpectGetAndAlwaysThrow(String, Exception)Exceptions
Exception | Condition |
---|---|
TypeMockException | If property is not found |
See Also