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