コード例 #1
0
        public void Builder_Should_NotBeAbleToSetValueOfPropertyWithoutSetter()
        {
            dynamic personExtendedInfoBuilder = new FluentBuilder <PersonExtendedInfo>();

            Should.Throw <ArgumentException>(() =>
            {
                personExtendedInfoBuilder.WithId(Guid.NewGuid());
            });
        }