public void TagMatchValidStartTest() { tagmatch = new TagMatch(); tagmatch.tag = "FlowDocument"; tagmatch.inputStr = "<FlowDocument><Paragraph><Bold>Some bold text in the paragraph.</Bold>Some text that is not bold. </ Paragraph > </FlowDocument>"; bool hasValidStart = tagmatch.ValidateStart(); Assert.IsTrue(hasValidStart); }