Search code examples
c#unit-testingmicrosoft-fakes

What is the namespace for ShimsBehaviors in Microsoft Shims?


The Microsoft documentation describes using the ShimsBehaviors class to modify the default behavior of shims. In what namespace is this class located?


Solution

  • The name of the class in the documentation is misspelled. It should be ShimBehaviors (note "Shim" not "Shims").

    The namespace is: Microsoft.QualityTools.Testing.Fakes.Shims