Telerik® JustMock™ by Progress

The AllowedMockableTypes type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAdd<(Of <<'(T>)>>)
Adds a type to the list of exemptions. You can also add a type by calling
CopyC#
AllowedMockableTypes.List.Add(typeof(T)).
if you can't or don't want to use this helper method.

Fields

  NameDescription
Public fieldStatic memberList
The collection of types that are exempt from sanity checks when mocking.

See Also