@Test
void unserializeListType() throws Exception
{

    Type listType = new DefaultParameterizedType(null, List.class, ComponentRole.class);
    assertEquals(listType,
        ReflectionUtils.unserializeType("java.util.List<org.xwiki.component.descriptor.ComponentRole>",
            Thread.currentThread().getContextClassLoader()));
}