public void Setup() { var path = TestContext.CurrentContext.TestDirectory + "\\TestFiles\\easyScene1.html"; _htmlMarkup = File.ReadAllText(path); _service = new SceneParserService(); }
private SceneParserResponse ParseHtmlFile(string filePath) { string htmlContent = System.IO.File.ReadAllText(filePath); var request = new SceneParserRequest() { HtmlContent = htmlContent }; var sceneParserService = new SceneParserService(); var response = sceneParserService.ParseScene(request); return(response); }