tests: add integration test for audio extractor

This commit is contained in:
Stevan Freeborn
2025-07-28 17:59:27 -05:00
parent 30f2032cef
commit 5ee040f2d0
7 changed files with 59 additions and 0 deletions
@@ -37,6 +37,7 @@ public class AudioExtractorTests
public async Task ExtractMp3FromMp4Async_WhenVideoIsNotSeekable_ItShouldThrow()
{
var mockStream = new Mock<Stream>();
mockStream.Setup(s => s.CanRead).Returns(true);
mockStream.Setup(s => s.CanSeek).Returns(false);
var action = async () => await _sut.ExtractMp3FromMp4Async(mockStream.Object);