mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-08-11 13:48:37 +02:00
Update SecretMaskerTest.java
This commit is contained in:
parent
1d9112ec63
commit
1973c86720
@ -13,12 +13,10 @@ import org.junit.jupiter.api.Test;
|
||||
/**
|
||||
* Unit tests for {@link SecretMasker}.
|
||||
*
|
||||
* <p>Assumptions:
|
||||
* - Key matching is case-insensitive via the pattern in SENSITIVE.
|
||||
* - If the key matches a sensitive pattern, the value is replaced with "***REDACTED***".
|
||||
* - Nested maps and lists are searched recursively.
|
||||
* - Null maps and null values are ignored or returned as null.
|
||||
* - Non-sensitive keys/values remain unchanged.
|
||||
* <p>Assumptions: - Key matching is case-insensitive via the pattern in SENSITIVE. - If the key
|
||||
* matches a sensitive pattern, the value is replaced with "***REDACTED***". - Nested maps and lists
|
||||
* are searched recursively. - Null maps and null values are ignored or returned as null. -
|
||||
* Non-sensitive keys/values remain unchanged.
|
||||
*/
|
||||
class SecretMaskerTest {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user