@Override
    public Path mkdir(final Path folder, final TransferStatus status) throws BackgroundException {
        if(containerService.isContainer(folder)) {
            return super.mkdir(folder, status);
        }
        else {
            status.setChecksum(writer.checksum(folder, status).compute(new NullInputStream(0L), status));
            return super.mkdir(folder, status);
        }
    }
@Test
    public void testCreatePlaceholder() throws Exception {
        final String bucketname = new AlphanumericRandomStringService().random();
        final String name = new AlphanumericRandomStringService().random();
        final Path container = new SpectraDirectoryFeature(session, new SpectraWriteFeature(session)).mkdir(
                new Path(bucketname, EnumSet.of(Path.Type.directory, Path.Type.volume)), new TransferStatus());
        final Path test = new SpectraDirectoryFeature(session, new SpectraWriteFeature(session)).mkdir(
            new Path(container, name, EnumSet.of(Path.Type.directory)), new TransferStatus());
        assertTrue(new SpectraFindFeature(session).find(test));
        assertTrue(new DefaultFindFeature(session).find(test));
        new SpectraDeleteFeature(session).delete(Collections.singletonList(container), new DisabledLoginCallback(), new Delete.DisabledCallback());
    }