public void Empty() { var empty = new ExtensionSubtag(); Assert.IsTrue(empty.IsEmpty); Assert.AreEqual("", empty.ToString()); Assert.That(empty.ToArray(), Is.Empty); }
public void ToString(string[] subtags, string expected) { var ext = new ExtensionSubtag('a', subtags); Assert.AreEqual(expected, ext.ToString()); }