The MockRepository type exposes the following members.
Methods
Name | Description | |
---|---|---|
Create<(Of <<'(T>)>>)()()()() |
Creates a new mock with the default MockBehavior
specified at factory construction time.
(Inherited from MockFactory.) | |
Create<(Of <<'(T>)>>)(array<Object>[]()[][]) |
Creates a new mock with the default MockBehavior
specified at factory construction time and with the
the given constructor arguments for the class.
(Inherited from MockFactory.) | |
Create<(Of <<'(T>)>>)(MockBehavior) |
Creates a new mock with the given behavior.
(Inherited from MockFactory.) | |
Create<(Of <<'(T>)>>)(MockBehavior, array<Object>[]()[][]) |
Creates a new mock with the given behavior
and with the the given constructor arguments for the class.
(Inherited from MockFactory.) | |
CreateMock<(Of <<'(T>)>>) |
Implements creation of a new mock within the factory.
(Inherited from MockFactory.) | |
Of<(Of <<'(T>)>>)()()()() |
Access the universe of mocks of the given type, to retrieve those
that behave according to the LINQ query specification.
| |
Of<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <(<'T, TResult>)>)>>)>>)) | ||
OneOf<(Of <<'(T>)>>)()()()() |
Creates an mock object of the indicated type.
| |
OneOf<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <(<'T, TResult>)>)>>)>>)) | ||
Verify |
Verifies all verifiable expectations on all mocks created
by this factory.
(Inherited from MockFactory.) | |
VerifyAll |
Verifies all verifiable expectations on all mocks created
by this factory.
(Inherited from MockFactory.) | |
VerifyMocks |
Invokes verifyAction for each mock
in Mocks, and accumulates the resulting
MockVerificationException that might be
thrown from the action.
(Inherited from MockFactory.) |