BAEL-4578: Fix failing unit test (#9929)
This commit is contained in:
parent
78579ffe74
commit
6f2e3a9e6b
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user