diff --git a/src/L10NSharp.Tests/TempFile.cs b/src/L10NSharp.Tests/TempFile.cs
index ee59c5c..7f50b56 100644
--- a/src/L10NSharp.Tests/TempFile.cs
+++ b/src/L10NSharp.Tests/TempFile.cs
@@ -138,20 +138,6 @@ public static TempFile WithFilenameInTempFolder(string fileName)
return result;
}
- ///
- /// Used to make a real file out of a resource for the purpose of testing
- ///
- /// e.g., an audio resource
- /// with or without '.', will work the same
- public static TempFile FromResource(Stream resource, string extension)
- {
- var f = WithExtension(extension);
- byte[] buffer = new byte[resource.Length + 1];
- resource.Read(buffer, 0, (int)resource.Length);
- File.WriteAllBytes(f.Path, buffer);
- return f;
- }
-
///
/// Used to make a real file out of a resource for the purpose of testing
///