BAEL-4578: Fix failing unit test (#9929)

This commit is contained in:
kwoyke 2020-08-27 14:12:53 +02:00 committed by GitHub
parent 78579ffe74
commit 6f2e3a9e6b
1 changed files with 1 additions and 0 deletions

View File

@ -10,5 +10,6 @@ public class CopyListServiceUnitTest {
@Test(expected = UnsupportedOperationException.class)
public void whenModifyCopyOfList_thenThrowsException() {
List<Integer> copyList = List.copyOf(Arrays.asList(1, 2, 3, 4));
copyList.add(4);
}
}