// This region contains code that helps us restore to a known good state before // and after each assertion runs. public Assertions() { myElement = new PISystems(true).Find <AFElement>(elementPath); myElement.CheckOut(); myElement.Elements.Add("MyChild"); }