@BeforeMethod protected void setUp() throws Exception { // create context for filesystem container Properties prop = new Properties(); prop.setProperty(FilesystemConstants.PROPERTY_BASEDIR, TestUtils.TARGET_BASE_DIR); context = ContextBuilder.newBuilder(PROVIDER).overrides(prop).build(BlobStoreContext.class); // create a container in the default location blobStore = context.getBlobStore(); new File(TestUtils.TARGET_BASE_DIR).mkdir(); TestUtils.createResources(); }