private void CheckClass(CodeFirstClass eventSource, string className, string namespaceName, ScopeAccess scopeAccess, string comments, string xmlCommentString) { Assert.AreEqual(className, eventSource.Name, "ClassName is wrong"); Assert.AreEqual(namespaceName, eventSource.Namespace, "Namespace is wrong"); Assert.AreEqual(scopeAccess, eventSource.ScopeAccess, "ScopeAccess is wrong"); Assert.AreEqual(comments, eventSource.Comments, "Comments is wrong"); Assert.AreEqual(xmlCommentString, eventSource.XmlCommentString, "XmlCommentString is wrong"); }