Beispiel #1
0
        protected override void Given()
        {
            base.Given();

            var model = AddressBuilder.Typical().Build();

            _model = SUT.AddAsync(AdminUserId, model).Result;
            Assert.IsNotNull(SUT.GetAsync(AdminUserId, _model.Id).Result);
        }
Beispiel #2
0
        protected override void Given()
        {
            base.Given();

            _models = new List <Address>
            {
                AddressBuilder.Typical().Build(),
                    AddressBuilder.JoeCustomerShipping().Build()
            };

            _originalCount = SUT.CountAsync().Result;
        }
Beispiel #3
0
        protected override void Given()
        {
            base.Given();

            _model = AddressBuilder.Typical().Build();
        }