public void PrefixClassDefaultsToql() { var op = new DeltaInsertOp("aa"); var c = new OpToXmlConverter(op); var act = c.PrefixClass("my-class"); act.Should().Be("ql-my-class"); }
public void PrefixClassWithxx() { var op = new DeltaInsertOp("aa"); var c = new OpToXmlConverter(op, new OpToXmlConverterOptions { ClassPrefix = "xx" }); var act = c.PrefixClass("my-class"); act.Should().Be("xx-my-class"); }