@Test
	public void createFileWrapperFromFolder() throws Exception {
		FileWrapper file;

		file = S3FindFilesStep.Execution.createFileWrapperFromFolder(0, Paths.get("path/to/folder"));
		Assert.assertEquals("folder", file.getName());
		Assert.assertEquals("path/to/folder/", file.getPath());
		Assert.assertTrue(file.isDirectory());
		Assert.assertEquals(0, file.getLength());
		Assert.assertEquals(0, file.getLastModified());
		file = S3FindFilesStep.Execution.createFileWrapperFromFolder(0, Paths.get("path/to/folder/"));
		Assert.assertEquals("folder", file.getName());
		Assert.assertEquals("path/to/folder/", file.getPath());
		Assert.assertTrue(file.isDirectory());
		Assert.assertEquals(0, file.getLength());
		Assert.assertEquals(0, file.getLastModified());

		file = S3FindFilesStep.Execution.createFileWrapperFromFolder(1, Paths.get("path/to/folder"));
		Assert.assertEquals("folder", file.getName());
		Assert.assertEquals("to/folder/", file.getPath());
		Assert.assertTrue(file.isDirectory());
		Assert.assertEquals(0, file.getLength());
		Assert.assertEquals(0, file.getLastModified());

		file = S3FindFilesStep.Execution.createFileWrapperFromFolder(2, Paths.get("path/to/folder"));
		Assert.assertEquals("folder", file.getName());
		Assert.assertEquals("folder/", file.getPath());
		Assert.assertTrue(file.isDirectory());
		Assert.assertEquals(0, file.getLength());
		Assert.assertEquals(0, file.getLastModified());
	}
/file.*");
		Assert.assertEquals("glob:path/to/my/*
src/test/java/de/taimos/pipeline/aws/S3FindFilesStepTest.java