Gets the protected mock.
Namespace:
FastMoq
Assembly:
FastMoq.Core (in FastMoq.Core.dll)
public Mock GetProtectedMock(
Type type,
params Object[] args
)
Public Function GetProtectedMock ( _
type As Type, _
ParamArray args As Object() _
) As Mock
public:
Mock^ GetProtectedMock(
Type^ type,
... array<Object^>^ args
)
Parameters
- type
- Type: Type
The type.
- args
- Type: array<Object>[]()[][]
The arguments.
Return Value
Mock of the protected mock.