Esempio n. 1
0
        protected override void Given()
        {
            base.Given();

            var model = AddressMother.Typical();

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

            _models = new List <Address>
            {
                AddressMother.Typical(),
                    AddressMother.JoeCustomerShippingAddress()
            };

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

            _model = AddressMother.Typical();
        }