public void XRunBindingToString() { var run = new XRun(new Binding("Foo")); var tostring = run.ToString(); tostring.ShouldBe("{Foo}"); }
public void XRunToString() { var run = new XRun("Foo"); var tostring = run.ToString(); tostring.ShouldBe("Foo"); }
public void XRunBindingWithStringFormatToString() { var run = new XRun(new Binding("Foo") { StringFormat = "This is a {0}!" }); var tostring = run.ToString(); tostring.ShouldBe("This is a {Foo}!"); }