Exemple #1
0
 /// <summary>
 /// Checks whether or not instances of the given serverType should be mocked.
 /// </summary>
 /// <param name="serverType">The type for which to create an instance.
 /// Should be the type decorated by this attribute.</param>
 protected virtual bool IsTypeToMock(Type serverType)
 {
     return(MockService.IsTypeToMock(serverType));
 }