@Test
void shouldUseSameThreadClassAsNioEventLoopGroupDoesByDefault() throws Exception
{

    NioEventLoopGroup nioEventLoopGroup = new NioEventLoopGroup( 1 );
    eventLoopGroup = EventLoopGroupFactory.newEventLoopGroup( 1 );
    try
    {
        Thread defaultThread = getThread( nioEventLoopGroup );
        Thread driverThread = getThread( eventLoopGroup );
        assertEquals( defaultThread.getClass(), driverThread.getClass().getSuperclass() );
        assertEquals( defaultThread.getPriority(), driverThread.getPriority() );
    }
    finally
    {
        shutdown( nioEventLoopGroup );
    }
}