	@Test
	public void singleIncludeSingleExclude() throws IOException {

		File dir = createDirectory();
		File include = File.createTempFile("include", ".filetomatch", dir);
		File.createTempFile("neutral", ".notmatch", dir);
		File exclude = File.createTempFile("exlude", ".filetomatch", dir);
		String[] paths = PathUtils.getMatchingPaths(
				new String[] { "*.filetomatch" },
				new String[] { exclude.getName() }, include.getParent());
		assertNotNull(paths);
		assertEquals(1, paths.length);
		assertEquals(include.getName(), paths[0]);
	}