Problem: Junit returns next error:
java.lang.UnsupportedOperationException at java.base/java.util.InmutableCollections.uoe
Solution: Instead of List.of() or Array.asList() or… you have to use new ArrayList(Arrays.asList(…))
For more interesting tutorials & guides just check them HERE.