public void AutoLinkManipulator_Remove_2() { string input = "one that {a_link|monitors} or is used in {a_link|monitoring}: such as"; string expected = "one that monitors or is used in monitoring: such as"; var manipulator = new AutoLinkManipulator(); // ACT var output = manipulator.RemoveMarkup(input); // ASSERT output.ShouldBe(expected); }
public void AutoLinkManipulator_Remove_3() { string input = "{a_link|yesteryear}, {a_link|long ago}"; string expected = "yesteryear, long ago"; var manipulator = new AutoLinkManipulator(); // ACT var output = manipulator.RemoveMarkup(input); // ASSERT output.ShouldBe(expected); }
public void AutoLinkManipulator_Remove_1() { string input = "the meat of {a_link|fowls} used as food"; string expected = "the meat of fowls used as food"; var manipulator = new AutoLinkManipulator(); // ACT var output = manipulator.RemoveMarkup(input); // ASSERT output.ShouldBe(expected); }