public void Extract_with_unprotected_file_passing_password() { var file = TestConfig.PathToDocumentPdf; TikaNetAnalyzer sut = new TikaNetAnalyzer(); var result = sut.GetHtmlContent(file, "jarvistest"); Assert.That(result, Is.Not.Null); }
public void Extract_with_password_removal() { var file = TestConfig.PathToPasswordProtectedPdf; TikaNetAnalyzer sut = new TikaNetAnalyzer(); var result = sut.GetHtmlContent(file, "jarvistest"); Assert.That(result, Is.Not.Null); }