public async Task GivenAListOfUsers_WhenGetAllUsers_ThenReturnListOfUsersEntity()
        {
            var user = UserFactory.Added2Users(_database.DbContext);

            var result = await _repository.GetAllAsync();

            result.Should().BeOfType <List <User> >();
            var addedUser = result.FirstOrDefault(u => u.Id == user.Id);

            addedUser.Should().NotBeNull();
        }