Class IdConfiguration
Inheritance: AbstractPropertyConfiguration
        public void Configure_RequiredTypeDifferentFromPropertyType_ExceptionThrown()
        {
            //Assign
            var type = typeof(string);
            var attr = new StubIdAttribute(type);
            var config = new IdConfiguration();
            var propertyInfo = typeof(StubClass).GetProperty("Id");

            //Act
            attr.Configure(propertyInfo, config);

            //Assert
        }
        public void Configure_DefaultValues_ConfigContainsDefaults()
        {
            //Assign
            var type = typeof (int);
            var attr = new StubIdAttribute(type);
            var config = new IdConfiguration();
            var propertyInfo = typeof (StubClass).GetProperty("Id");

            //Act
            attr.Configure(propertyInfo, config);

            //Assert
            Assert.AreEqual(propertyInfo, config.PropertyInfo);
            Assert.AreEqual(type, config.Type);
        }