It is StubBehaviors and not StubsBehaviors. It is defined in Microsoft.QualityTools.Testing.Fakes.Stubs
Where is the "StubsBehaviors.DefaultValue" in Microsoft Fakes framework?
-
02-09-2022 - |
Pergunta
I am using the Microsoft Fakes framework to make some unit test stubs.
I tried to modify the stub behaviors with StubsBehaviors.DefaultValue according to the MSDN link.
But VS2012 keeps complaining it cannot resolve the StubsBehaviors.DefaultValue. And I searched a bit. No finding. This seems to be a enum or something. Which assembly is it defined in?
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow