Example #1
0
        public async Task GetAsync_should_return_null_when_userIsDeleted_true()
        {
            //arrange
            var user = await TestDataInitializer.InitOneDeletedUserAsync(_context);

            //act
            var result = await _userRepository.GetAsync(user.Id);

            //assert
            Assert.Null(result);
        }