public void IsEqual_SameArrays_ReturnsTrue()
        {
            //prepare
            _mappingArguments.Getter = t => new[] { new X509Certificate2(Resources.ResourceHelper.GetAssemblyResource(@"Resources\cert.cer")), new X509Certificate2(Resources.ResourceHelper.GetAssemblyResource(@"Resources\cert.cer2")) };
            var propertyMapping = new X509Certificate2ArrayPropertyMapping <X509Certificate2ArrayPropertyMappingTest>(_mappingArguments);
            DirectoryAttributeModification modification;
            //act
            var value = propertyMapping.IsEqual(this, new[] { new X509Certificate2(Resources.ResourceHelper.GetAssemblyResource(@"Resources\cert.cer")), new X509Certificate2(Resources.ResourceHelper.GetAssemblyResource(@"Resources\cert.cer2")) }, out modification);

            //assert
            value.Should().Be.True();
            modification.Should().Be.Null();
        }
        public void IsEqual_OneNull_ReturnsFalse()
        {
            //prepare
            _mappingArguments.Getter = t => null;
            var propertyMapping = new X509Certificate2ArrayPropertyMapping <X509Certificate2ArrayPropertyMappingTest>(_mappingArguments);
            DirectoryAttributeModification modification;
            //act
            var value = propertyMapping.IsEqual(this, new[] { new X509Certificate2(Properties.Resources.cert) }, out modification);

            //assert
            value.Should().Be.False();
            modification.Should().Not.Be.Null();
        }