protected virtual void AssertNoErrors(string testName) { if (errors != null && errors.Count > 0) throw new AggregateException(errors); }