@Override
    public Thread newThread(final Runnable runnable) {
        Thread thread = new Thread(THREAD_GROUP, runnable,
                THREAD_GROUP.getName() + "-" + namePrefix + "-" + THREAD_NUMBER.getAndIncrement());
        thread.setDaemon(daemon);
        thread.setPriority(priority);
        
        return thread;
    }
@Test
    public void testNewThread() {
        ThreadFactory threadFactory = ShenyuThreadFactory.create(NAME_PREFIX, true);
        threadFactory.newThread(() -> Thread.currentThread().setName("NAME_PREFIX"));
    }