I want to read a mock RSS feed file to test against in a Xamarin NUnit test for an Android app. The test class has no context so I can't put the file in the Assets folder and do this:
System.IO.Stream strIn = instanceOfAssetManager.Open(feedFile);
It also has no ancestor, so I can't do this:
System.IO.Stream strIn = this.Class.ClassLoader.ResourceAsStream(feedFile);
Any suggestions how I can get to the jolly thing?
This case solved a similar problem for a different platform/setup: Storing test files in the test project