public void TextObjectAddToTest() { var testObj = new TextObject("abc"); var objToAdd = new TextObject("def"); testObj.AddAt(objToAdd, ".*()$"); Assert.AreEqual("abcdef", testObj.Serialize()); testObj.AddAt(objToAdd, "^()"); Assert.AreEqual("defabcdef", testObj.Serialize()); }