public void ModifyLine()
        {
            var cbm    = new CodeBlockModifier();
            var actual = cbm.ModifyLine("(@|ruby|r.to_html@)");

            Assert.AreEqual(@"(<code language=""ruby"">r.to_html</code>)", actual);
        }
 public void ModifyLine() {
   var cbm = new CodeBlockModifier();
   const string input = "Call the @|ruby|r_tohtml();@ method";
   var actual = cbm.ModifyLine(input);
   const string expected = 
     "Call the <code language=\"ruby\">r_tohtml();</code> method";
   Assert.AreEqual(expected, actual);
 }
    public void ModifyLine()
    {
        var          cbm      = new CodeBlockModifier();
        const string input    = "Call the @|ruby|r_tohtml();@ method";
        var          actual   = cbm.ModifyLine(input);
        const string expected =
            "Call the <code language=\"ruby\">r_tohtml();</code> method";

        Assert.AreEqual(expected, actual);
    }