コード例 #1
0
        protected override void Given()
        {
            base.Given();

            var model = CountryMother.Typical();

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

            _models = new List <Country>
            {
                CountryMother.Typical(),
                    CountryMother.Typical()
            };

            _originalCount = SUT.CountAsync().Result;
        }
コード例 #3
0
        protected override void Given()
        {
            base.Given();

            _model = CountryMother.Typical();
        }