locked
Internal methods with Moq In C# RRS feed

  • Question

  • I have a class with internal methods and want to write unit test's for this class using moq library (Moq) in Visual studio 2012 (Microsoft.VisualStudio.TestTools.UnitTesting).

    1) Can we mock internal methods? If yes,please provide me with example.If we can't mock internal methods what are the other best options I have?

    Thanks in Advance

    Monday, August 26, 2013 1:57 PM

Answers

All replies