/// <param name="resourcePath">The full namespace and file name.</param> public static Stream Read(string resourcePath) { var stream = TestAssembly.GetManifestResourceStream(resourcePath); if (stream == null) { throw new ArgumentException("Invalid resource path: " + resourcePath, "resourcePath"); } return(stream); }