also a loop with 

```Java
final String s = randomRealisticUnicodeOfCodepointLength(10);
assertEqualsIgnoreCase(s, s.toUpperCase(Locale.ROOT));
```

maybe?