Mocking Virtual Methods Only

To mock virtual methods only:

Set the Design property of the [Isolated] attribute to InterfaceOnly.

For example:

C#

[Isolated(Design = DesignMode.InterfaceOnly)]

VB

<Isolated(Design:=DesignMode.InterfaceOnly)>