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

            Should.Throw <ArgumentOutOfRangeException>(() =>
            {
                personInfoBuilder.WithSalary(-1000m);
            });
        }