public void PostInitializeEntity(IFogBugzEntity entity, IDictionary<string, string> rawValues)
        {
            if (HttpContext.Current != null && entity is Case && FbAccountContext.Current.Settings.AllowQaEstimates)
            {
                var fieldName = FbAccountContext.Current.Settings.QaEstimateCustomFieldName;
                //"plugin_kilnplugin_at_fogcreek_com_fkilnreview";

                var filteredValues = rawValues.Where(k => k.Key.ToLower().Contains(fieldName.ToLower()))
                                              .Select(v => v.Value)
                                              .ToList();

                if (fieldName != null && filteredValues.Any())
                {
                    var converter = new PropertyMapAttribute(string.Empty, ConversionStrategy.Integer);

                    var val = converter.Convert(filteredValues.First());
                    (entity as Case).TestEstimate = (int?)val;
                }
            }
        }
        public void should_create_attribute_instance()
        {
            PropertyMapAttribute sut = new PropertyMapAttribute();

            Assert.IsInstanceOfType(sut, typeof(Attribute));
        }
        public void should_create_instance()
        {
            PropertyMapAttribute sut = new PropertyMapAttribute();

            Assert.IsNotNull(sut);
        }