Constructors
Methods
-
Add
Additional sealed Adds an additional mock object for a given T Useful for array arguments to the ClassUnderTest objectMock For``1() -
Create
Mock sealed Creates, returns, and registers an array of mock objects for type T.Array For``1(Int32) - Get``1() sealed Gets the mock object for type T that would be injected into the constructor function of the ClassUnderTest
-
Inject(Type,
Object) sealed Method to specify the exact object that will be used for "pluginType." Useful for stub objects and/or static mocks - Inject``1(``0) sealed Method to specify the exact object that will be used for "pluginType." Useful for stub objects and/or static mocks
-
Inject
Array``1(``0[]) sealed Allows you to "inject" an array of known objects for an argument of type T[] in the ClassUnderTest -
Partial
Mock sealed Calling this method will immediately create a "Partial" mock for the ClassUnderTest using the "Greediest" constructor.The Class Under Test() -
Use
Concrete sealed So that Aaron Jensen can use his concrete HubService object Construct whatever T is with all mocks, and make sure that the ClassUnderTest gets built with a concrete TClass For``1() -
Use
Mock sealedFor Type``1()
Properties
-
Class
Under sealed Gets an instance of the ClassUnderTest with mock objects (or stubs) pushed in for all of its dependenciesTest - Container sealed Accesses the underlying AutoMockedContainer
-
Service
Locator protected