We have a small wrapper class that uses ResourceManager to load string resources from assemblies.
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.
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.
We are currently using Moq.