Inheritance: TypeCreatorBase
        public void UpdateTypeCreatorUpdateMatchingTypeCreator()
        {
            var expected    = Guid.NewGuid();
            var sut         = new BuildConfiguration();
            var typeCreator = new DummyTypeCreator
            {
                Value = expected
            };

            sut.TypeCreators.Add(typeCreator);

            var config = sut.UpdateTypeCreator <DummyTypeCreator>(x => { x.Value = expected; });

            config.Should().Be(sut);

            typeCreator.Value.Should().Be(expected);
        }
        public void VerifyPopulateRequestThrowsExceptionWithNullTypeTest()
        {
            var target = new DummyTypeCreator();

            Action action = () => target.VerifyPopulateRequestWithNullType();

            action.ShouldThrow<ArgumentNullException>();
        }
        public void SetsDefaultConfigurationForCreatorsTest()
        {
            var target = new DummyTypeCreator();

            target.AutoDetectConstructor.Should().BeTrue();
            target.AutoPopulate.Should().BeTrue();
            target.Priority.Should().Be(0);
        }