@Test
public void newThread() throws Exception {

    NamedInternalThreadFactory namedInternalThreadFactory = new NamedInternalThreadFactory();
    Thread t = namedInternalThreadFactory.newThread(new Runnable() {
        @Override
        public void run() {
        }
    });
    Assertions.assertEquals(t.getClass(), InternalThread.class, "thread is not InternalThread");
}