Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
added 10 characters in body
Source Link
abatishchev
  • 100.7k
  • 88
  • 304
  • 443

You can do it by using latest Microsoft Research project [Moles][1] [1]: http://research.microsoft.com/en-us/projects/pex/ OnceMoles

Once you get it running

You, you can do following

MMyProxy.DoWork32 = () => put your mock result here.

MMyProxy.DoWork32 = () => put your mock result here. 

Remeber SetRemember to set moleBehavior to fall-through for the unmocked methods.

You can do it by using latest Microsoft Research project [Moles][1] [1]: http://research.microsoft.com/en-us/projects/pex/ Once you get it running

You can do following

MMyProxy.DoWork32 = () => put your mock result here.

Remeber Set moleBehavior to fall-through for the unmocked methods.

You can do it by using latest Microsoft Research project Moles

Once you get it running, you can do following

MMyProxy.DoWork32 = () => put your mock result here. 

Remember to set moleBehavior to fall-through for the unmocked methods.

Source Link
Russel Yang
  • 2.7k
  • 3
  • 21
  • 18

You can do it by using latest Microsoft Research project [Moles][1] [1]: http://research.microsoft.com/en-us/projects/pex/ Once you get it running

You can do following

MMyProxy.DoWork32 = () => put your mock result here.

Remeber Set moleBehavior to fall-through for the unmocked methods.