Moq how do you test internal methods?

Posted by jo on Stack Overflow See other posts from Stack Overflow or by jo
Published on 2009-09-22T05:43:45Z Indexed on 2010/04/27 14:03 UTC
Read the original article Hit count: 366

Filed under:
|
|

Hi, Told by my boss to use Moq and that is it. I like it but it seems that unlike MSTest or mbunit etc... you cannot test internal methods

So I am forced to make public some internal implementation in my interface so that i can test it.

Am I missing something?

Can you test internal methods using Moq?

Thanks a lot

© Stack Overflow or respective owner

Related posts about moq

Related posts about .NET