Skip to content

Commit 75e070b

Browse files
committed
GetConverter txt unit test
1 parent 782f0ba commit 75e070b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WebFormsDocumentViewer.Tests/Infrastructure/ConverterFactoryTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public void GetConverter_When_ConverterIsRequested_Then_FactoryReturnsCorrectIns
1717
Assert.That(ConverterFactory.GetConverter(SupportedExtensions.xls), Is.TypeOf<ExcelToHtmlConverter>());
1818
Assert.That(ConverterFactory.GetConverter(SupportedExtensions.xlsx), Is.TypeOf<ExcelToHtmlConverter>());
1919
Assert.That(ConverterFactory.GetConverter(SupportedExtensions.rtf), Is.TypeOf<RtfToPdfConverter>());
20+
Assert.That(ConverterFactory.GetConverter(SupportedExtensions.txt), Is.Null);
2021
}
2122
}
2223
}

0 commit comments

Comments
 (0)