public void CanAvoidMatchingFileType(IFileMagicNumberMapping fileMagicNumberMapping, byte[] testFileContents)
        {
            var magicNumberMatcher = new MagicNumberMatcher(fileMagicNumberMapping);
            var identifiedFileType = magicNumberMatcher.MatchFileType(testFileContents);

            identifiedFileType.Should().BeNull("no file type should have been identified");
        }
        public void CanMatchFileType(IFileMagicNumberMapping fileMagicNumberMapping, byte[] testFileContents, string actualFileType)
        {
            var magicNumberMatcher = new MagicNumberMatcher(fileMagicNumberMapping);
            var identifiedFileType = magicNumberMatcher.MatchFileType(testFileContents);

            identifiedFileType.Should().NotBeNull("a file type should have been identified");
            identifiedFileType.Should().Be(actualFileType);
        }