@Test
public void addExclude() throws Exception {

/ @formatter:off
	ScreenshotArgument arg = new ScreenshotArgumentBuilder("ssid")
			.addNewTargetByName("name")
				.addExclude(SelectorType.ID, "ex")
			.build();
/ @formatter:on
	assertThat(arg.getScreenshotId(), is("ssid"));
	assertThat(arg.getTargets().size(), is(1));
	assertThat(arg.getHiddenElementSelectors().isEmpty(), is(true));
	assertThat(arg.getTargets().get(0), is(new CompareTarget(ScreenArea.of(SelectorType.NAME, "name"),
			new ScreenArea[] { ScreenArea.of(SelectorType.ID, "ex") }, true)));
}