Expect unlimited get of a Property and always mock the Property's value
Namespace: TypeMock
Assembly: TypeMock (in TypeMock.dll) Version: 9.3.6.0 (9.3.6.0)
Syntax
Parameters
- property
- Type: SystemString
Property Name - value
- Type: SystemObject
Mocked value
Implements
IMockControlExpectGetAlways(String, Object)Exceptions
Exception | Condition |
---|---|
TypeMockException | If property is not found or is not correct value type |
See Also