@Test
public void getter_targets_unmodifiable() throws Exception {

	CompareTarget[] targets = { new CompareTarget(), new CompareTarget(ScreenArea.of(SelectorType.ID, "id")) };
	ScreenshotArgument arg = new ScreenshotArgument("scid", Arrays.asList(targets), null);
	expected.expect(UnsupportedOperationException.class);
	arg.getTargets().add(new CompareTarget());
}