@Test
public void testNewThread01() throws Exception {

    Thread ownThread = new Thread();
    ownThread.setDaemon(true);
    CollectorThreadFactory factory = new CollectorThreadFactory();
    Thread target = factory.newThread(ownThread);
    assertFalse(target.isDaemon());
}