public void CustomAttributeMethods()
        {
            var declaration = CustomAttributeDeclarationObjectMother.Create(typeof(ObsoleteAttribute));

            _constructor.AddCustomAttribute(declaration);

            Assert.That(_constructor.AddedCustomAttributes, Is.EqualTo(new[] { declaration }));
            Assert.That(_constructor.GetCustomAttributeData().Select(a => a.Type), Is.EquivalentTo(new[] { typeof(ObsoleteAttribute) }));
        }
        public void IsModified_Constructor_AddedAttribute()
        {
            _addedCtor.AddCustomAttribute(CustomAttributeDeclarationObjectMother.Create());

            Assert.That(_tracker.IsModified(), Is.True);
        }