Expect 1 get of a Property and 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
Exceptions
Exception | Condition |
---|---|
TypeMockException | If property is not found or is not the correct type |
See Also