@Override
    public Thread newThread(Runnable runnable) {
        String name = mPrefix + mThreadNum.getAndIncrement();
        InternalThread ret = new InternalThread(mGroup, InternalRunnable.Wrap(runnable), name, 0);
        ret.setDaemon(mDaemon);
        return ret;
    }
@Test
    void newThread() throws Exception {
        NamedInternalThreadFactory namedInternalThreadFactory = new NamedInternalThreadFactory();
        Thread t = namedInternalThreadFactory.newThread(() -> {});

        Assertions.assertEquals(t.getClass(), InternalThread.class, "thread is not InternalThread");
    }