class S3File {

	public String getBucket() {
		return bucket;
	}

}

class S3FileTest {

	@Test
	public void testWithProtocol() {

		S3File file = new S3File("s3a://root/folder");
		Assert.assertEquals("root", file.getBucket());
	}

}