@Test
	public void createFileWrapperFromFile() throws Exception {
		FileWrapper file;
		S3ObjectSummary s3ObjectSummary = new S3ObjectSummary();
		s3ObjectSummary.setBucketName("my-bucket");
		s3ObjectSummary.setKey("path/to/my/file.ext");
		s3ObjectSummary.setLastModified(new Date(9000));
		s3ObjectSummary.setSize(12);

		file = S3FindFilesStep.Execution.createFileWrapperFromFile(0, Paths.get(s3ObjectSummary.getKey()), s3ObjectSummary);
		Assert.assertEquals("file.ext", file.getName());
		Assert.assertEquals("path/to/my/file.ext", file.getPath());
		Assert.assertFalse(file.isDirectory());
		Assert.assertEquals(12, file.getLength());
		Assert.assertEquals(9000, file.getLastModified());

		file = S3FindFilesStep.Execution.createFileWrapperFromFile(1, Paths.get(s3ObjectSummary.getKey()), s3ObjectSummary);
		Assert.assertEquals("file.ext", file.getName());
		Assert.assertEquals("to/my/file.ext", file.getPath());
		Assert.assertFalse(file.isDirectory());
		Assert.assertEquals(12, file.getLength());
		Assert.assertEquals(9000, file.getLastModified());

		file = S3FindFilesStep.Execution.createFileWrapperFromFile(2, Paths.get(s3ObjectSummary.getKey()), s3ObjectSummary);
		Assert.assertEquals("file.ext", file.getName());
		Assert.assertEquals("my/file.ext", file.getPath());
		Assert.assertFalse(file.isDirectory());
		Assert.assertEquals(12, file.getLength());
		Assert.assertEquals(9000, file.getLastModified());
	}
/file.*");
		Assert.assertEquals("glob:path/to/my/*
src/test/java/de/taimos/pipeline/aws/S3FindFilesStepTest.java