title: Mocking ResourceManager in .NET
body: <p>We have a small wrapper class that uses ResourceManager to load string resources from assemblies.  </p>
  
  <p>We also have some unit tests that check it loads the correct details from the correct assemblies for different cultures, assemblies etc.  Our tests are therefore currently dependant upon resources we have constructed for the test.</p>
  
  <p>Is there an easy way of mocking the ResourceManager class, other than coming up with our own interface which is then implemented by forwarding calls to the propert ResourceManager (and feels somewhat convoluted).  Mocking the interface would be easy, but the overall solution just doesn't feed right.</p>
  
  <p>We are currently using Moq. </p>