private static void VerifyFieldsEquality(FieldInfo[] fieldInfo1, FieldInfo[] fieldInfo2)
 {
     if (TestHelper.AreNotNull(fieldInfo1, fieldInfo2))
     {
         Assert.AreEqual(fieldInfo1.Count(), fieldInfo2.Count());
         foreach (FieldInfo field1 in fieldInfo1)
         {
             FieldInfo field2 = fieldInfo2.First(f => f.Name == field1.Name);
             Assert.IsTrue(AreTypesEqual(field2.FieldType, field1.FieldType));
         }
     }
 }