The VerifyMocksAttribute type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| VerifyMocksAttribute | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| CallDecoratedMethod |
Activate the original (decorated) method.
(Inherited from DecoratorAttribute.) | |
| DecorateMethodWhenAttributeIsClass |
Filter which methods to Execute the code, when the attribute is on a Class
(Inherited from DecoratorAttribute.) | |
| DontCallDecoratedMethod |
Stops the decorator from calling the original method which is called automatically
even when Execute method fails to call
CallDecoratedMethod.
(Inherited from DecoratorAttribute.) | |
| Execute | (Overrides DecoratorAttribute..::.Execute()()().) |
Properties
| Name | Description | |
|---|---|---|
| HasTearDown |
Signals that the test has a teardown method
(Inherited from DecoratorAttribute.) | |
| IgnoreStaleMocks |
When set Typemock will not track stale mocks.
A stale mock is an object that was faked in a previous test is used in current test.
This may lead to an unexpected behavior.
(Inherited from DecoratorAttribute.) | |
| IsTearDown |
Signals that the method being called is a teardown method
(Inherited from DecoratorAttribute.) | |
| OriginalContext |
Retrieves the instance that the original method was called with.
(Inherited from DecoratorAttribute.) | |
| OriginalMethod |
Retrieves the Original method info (the method which is tagged by the attribute)
(Inherited from DecoratorAttribute.) | |
| OriginalParams |
Retrieves the original parameters that were passed to the original method
(Inherited from DecoratorAttribute.) | |
| Timeout |
Get and Set the timeout (in milliseconds) for all expectations to complete
|