public static ThreadFactory build(final String nameFormat) {
        return new ThreadFactoryBuilder().setDaemon(true).setNameFormat(NAME_FORMAT_PREFIX + nameFormat).build();
    }
@Test
    void assertBuildWithNameFormat() {
        ThreadFactory threadFactory = ExecutorThreadFactoryBuilder.build("test");
        Thread thread = threadFactory.newThread(() -> {
        });
        assertThat(thread.getName(), is("ShardingSphere-test"));
    }