@Test
public void testNewThread02() throws Exception {

    Thread ownThread = new Thread();
    ownThread.setPriority(Thread.MAX_PRIORITY);
    CollectorThreadFactory factory = new CollectorThreadFactory();
    Thread target = factory.newThread(ownThread);
    assertEquals(Thread.NORM_PRIORITY, target.getPriority());
}