Table of Contents

Namespace Mokkit.Containers.NSubstitute

Classes

NSubstituteContainer

Mokkit container backed by NSubstitute. An NSubstitute substitute is the object, so it is resolved by the mocked type and injected into the real graph as-is.

NSubstituteContainerBuilder

Builds an Mokkit.Containers.NSubstitute.NSubstituteContainer. Register substitutes on the Mokkit.Containers.Common.BaseMockContainerBuilder`1.MockCollection — most conveniently with AddSubstitute<T>() — from the configuration callbacks.

NSubstituteMockCollectionExtensions

Convenience registration methods that create NSubstitute substitutes for the mock collection.