public async Task Validate_when_user_was_found_by_sub_and_location_exists()
        {
            var sut = new DeleteLocationValidator(_dbContext);

            // Arrange
            string userSub = Guid.NewGuid().ToString();

            var user = new DeUrgenta.Domain.Entities.User
            {
                FirstName = "Integration",
                LastName  = "Test",
                Sub       = userSub
            };
            await _dbContext.Users.AddAsync(user);

            var userLocation = new UserLocation
            {
                User      = user,
                Address   = "Splaiul Unirii 160, 040041 Bucharest, Romania",
                Type      = UserLocationType.Work,
                Longitude = 44.41184746891321m,
                Latitude  = 26.118310383230373m
            };
            await _dbContext.UserLocations.AddAsync(userLocation);

            await _dbContext.SaveChangesAsync();

            // Act
            bool isValid = await sut.IsValidAsync(new DeleteLocation(userSub, userLocation.Id));

            // Assert
            isValid.ShouldBeTrue();
        }
        public async Task Invalidate_request_when_no_user_found_by_sub(string sub)
        {
            // Arrange
            var sut = new DeleteLocationValidator(_dbContext);

            // Act
            bool isValid = await sut.IsValidAsync(new DeleteLocation(sub, Guid.NewGuid()));

            // Assert
            isValid.ShouldBeFalse();
        }
        public async Task Invalidate_when_user_was_found_by_sub_and_location_does_not_exists()
        {
            var sut = new DeleteLocationValidator(_dbContext);

            // Arrange
            string userSub = Guid.NewGuid().ToString();
            await _dbContext.Users.AddAsync(new DeUrgenta.Domain.Entities.User
            {
                FirstName = "Integration",
                LastName  = "Test",
                Sub       = userSub
            });

            await _dbContext.SaveChangesAsync();

            // Act
            bool isValid = await sut.IsValidAsync(new DeleteLocation(userSub, Guid.NewGuid()));

            // Assert
            isValid.ShouldBeFalse();
        }