// We need to subclass these types so that they implement the
            // appropriate interface to be claims-based.
            public override IEnumerable<object[]> GetData(MethodInfo methodUnderTest, Type[] parameterTypes)
            {
                yield return new object[] { new SubclassedFormsIdentity() };
                yield return new object[] { new SubclassedGenericIdentity() };

                SubclassedWindowsIdentity subclassedWindowsIdentity = null;
                using (WindowsIdentity originalIdentity = WindowsIdentity.GetCurrent())
                {
                    subclassedWindowsIdentity = new SubclassedWindowsIdentity(originalIdentity.Token);
                }
                yield return new object[] { subclassedWindowsIdentity };
            }
            // We need to subclass these types so that they implement the
            // appropriate interface to be claims-based.
            public override IEnumerable <object[]> GetData(MethodInfo methodUnderTest, Type[] parameterTypes)
            {
                yield return(new object[] { new SubclassedFormsIdentity() });

                yield return(new object[] { new SubclassedGenericIdentity() });

                SubclassedWindowsIdentity subclassedWindowsIdentity = null;

                using (WindowsIdentity originalIdentity = WindowsIdentity.GetCurrent())
                {
                    subclassedWindowsIdentity = new SubclassedWindowsIdentity(originalIdentity.Token);
                }
                yield return(new object[] { subclassedWindowsIdentity });
            }