### Question:
SimpleTempFileSpaceAllocator implements TempFileSpaceAllocator { @Override public TempFileSpace newSpace(final String subdirectoryPrefix) { if (!ISO8601_BASIC_PATTERN.matcher(subdirectoryPrefix).matches()) { logger.warn("TempFileSpaceAllocator#newSpace should be called with ISO 8601 basic format: {}", subdirectoryPrefix); } try { return TempFileSpaceImpl.with( this.tempDirectoryBase, "embulk" + subdirectoryPrefix.replace('/', '-').replace(':', '-')); } catch (final IOException ex) { throw new UncheckedIOException(ex); } } SimpleTempFileSpaceAllocator(); @Override TempFileSpace newSpace(final String subdirectoryPrefix);  }### Answer:
@Test public void testNewSpaceWithIso8601Basic() { final TempFileSpaceAllocator allocator = new SimpleTempFileSpaceAllocator(); allocator.newSpace("20191031T123456Z"); }
@Test public void testNewSpaceWithNonIso8601Basic() { final TempFileSpaceAllocator allocator = new SimpleTempFileSpaceAllocator(); allocator.newSpace("2019-10-31 12:34:56 UTC"); }