Esempio n. 1
0
        public void SetLocationShouldReturnLocation()
        {
            using (var context = new Entity.StoreDBContext(options))
            {
                IStoreRepository _repo = new StoreRepoDB(context, new StoreMapper());
                var foundLocation      = _repo.SetLocation(2);

                Assert.NotNull(foundLocation);
                Assert.Equal(2, foundLocation.LocationID);
            }
        }