public void IncorrectPropertyType_PropertyMappingExceptionWithFormatException()
        {
            AssertHelper.TryCatch(tryAction: () =>
            {
                // Arrange
                var entityData = new List <EntityData>
                {
                    new EntityData
                    {
                        EntityName = "CherrySeed.Test.Models.EntityWithSimpleProperties",
                        Objects    = new List <Dictionary <string, string> >
                        {
                            new Dictionary <string, string>
                            {
                                { "MyInteger", "NotANumber" }
                            }
                        }
                    }
                };

                // Act
                _cherrySeedDriver.InitAndSeed(entityData.ToDictionaryDataProvider(), new EmptyRepository(), cfg =>
                {
                    cfg.ForEntity <EntityWithSimpleProperties>();
                });
            }, catchAction: ex =>
            {
                // Assert
                AssertHelper.AssertExceptionWithMessage(ex, typeof(PropertyTransformationException), "Transformation of Property 'MyInteger' of type 'CherrySeed.Test.Models.EntityWithSimpleProperties' to value 'NotANumber' failed");
                AssertHelper.AssertException(ex.InnerException, typeof(FormatException));
            });
        }