Interface for specifying behavior for a void returning intercepted calls. The interface is returned by WhenCalled(Action) method.
Namespace: TypeMock.ArrangeActAssert.Fluent
Assembly: Typemock.ArrangeActAssert (in Typemock.ArrangeActAssert.dll) Version: 9.1.4.0 (9.1.4.0)
Syntax
The IVoidActionHandler type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | CallOriginal |
Specify that an intercepted call will try to execute the real logic of the intercepted instance.
(Inherited from IMethodBehavior.) |
![]() ![]() | DoInstead |
Run a custom action instead of the methods in the WhenCalled block.
|
![]() ![]() | IgnoreCall |
Specify that an intercepted call should be ignored without executing any logic.
|
![]() ![]() | WillThrow |
Specify that an intercepted call will throw the given exception.
(Inherited from IMethodBehavior.) |
Remarks
See Also