The MockFactory type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| MockFactory |
Initializes the factory with the given defaultBehavior
for newly created mocks from the factory.
|
Methods
| Name | Description | |
|---|---|---|
| Create | Overloaded. | |
| Verify |
Verifies all verifiable expectations on all mocks created
by this factory.
| |
| VerifyAll |
Verifies all verifiable expectations on all mocks created
by this factory.
|
Properties
| Name | Description | |
|---|---|---|
| CallBase |
Whether the base member virtual implementation will be called
for mocked classes if no setup is matched. Defaults to falseFalsefalsefalse (False in Visual Basic).
| |
| DefaultValue |
Specifies the behavior to use when returning default values for
unexpected invocations on loose mocks.
|