Warning · Test quality
Neither makes `File.Replace` fail transiently.
Impact
Both tests would pass if `Invoke-ProoflineReplaceWithRetry` rethrew the first sharing violation.
Recommended action
Add a test that forces the first replacement to fail with a sharing violation, releases the lock before the retry, and asserts that replacement succeeds.