C # has a spyware infrastructure like mockito for .NET 3.5?

I used to have a very handy spy structure in java called Mockito . This allows you to make fun of some methods on existing objects, and can also tell you if others were called (for this you would create a spy wrapper). Is there something similar for C # in .NET 3.x?

+6
source share
2 answers

You seem to be describing "partial bullying." Some (most?) Mocking frameworks support this. I know Moq and RhinoMocks do for sure .

+8
source

They are there, but they cost money.

You can try JustMock or TypeMock

0
source

All Articles