void () { getConfiguration().addExcludedFile(myTempFile, getType()); assertEquals(myTempFile.getUrl(), assertOneElement(getState().getFiles()).getUrl()); getConfiguration().addExcludedFile(myTempDir, getType2()); assertEquals(2, getState().getFiles().size()); }