public void Get_replacement_line(string originalLine) { // Arrange var extractor = new TestableCsHtmlExtractor(); // Act var result = extractor.GetReplacementLine(originalLine); // Assert Assert.That(result, Is.EqualTo("replacement line")); }
public void Is_start_of_block(string originalLine) { // Arrange var extractor = new TestableCsHtmlExtractor(); // Act var isStartOfBlock = extractor.IsStartOfBlock(originalLine); Console.WriteLine(originalLine.Trim(' ', '\t')); // Assert Assert.That(isStartOfBlock, Is.True); }