Namespace AutoFixture.AutoMoq

Classes

AutoMockPropertiesCommand

A command that populates all public writable properties/fields of a mock object with anonymous values.

AutoMoqCustomization

Enables auto-mocking with Moq.

GreedyMockConstructorQuery

Selects appropriate constructors to create Mock%601 instances.

MockConstructorQuery

Selects appropriate constructors to create Mock%601 instances.

MockPostprocessor

Post-processes a Mock%601 instance by setting appropriate default behavioral values.

MockRelay

Relays a request for an interface or an abstract class to a request for a Mock%601 of that class.

MockType

Contains extension methods to manipulate/setup instances of Mock%601.

MockVirtualMethodsCommand

Sets up a mocked object's methods so that the return values will be retrieved from a fixture, instead of being created directly by Moq.

This will setup any virtual methods that are either non-void or have "out" parameters.

StubPropertiesCommand

Stubs a mocked object's properties, giving them "property behavior". Setting a property's value will cause it to be saved and later returned when the property is accessed.