Remove specified Mock of T.
Namespace:
FastMoq
Assembly:
FastMoq.Core (in FastMoq.Core.dll)
public bool RemoveMock<T>(
Mock<T> mock
)
Public Function RemoveMock(Of T) ( _
mock As Mock(Of T) _
) As Boolean
public:
generic<typename T>
bool^ RemoveMock(
Mock<T>^ mock
)
Type Parameters
- T
- The Mock Type, usually an interface.
Parameters
- mock
- Type: Mock<(Of <(<'T>)>)>
Mock to Remove.
Return Value
true if the mock is successfully removed,
false otherwise.