@Test
public void testGetType() {

    {
        final Type resolvedType = resolverWithoutTypeArguments.getType();
        assertTrue(resolvedType instanceof Class);
        assertEquals(TestClassWithoutTypeArguments.class, resolvedType);
    }
    {
        final Type resolvedType = resolverWithTypeArguments.getType();
        assertTrue(resolvedType instanceof B2TypeResolver.ResolvedParameterizedType);
        final ParameterizedType resolvedParameterizedType = (ParameterizedType) resolvedType;
        assertEquals(TestClassWithTypeArguments.class, resolvedParameterizedType.getRawType());
        assertArrayEquals(
                new Type[]{String.class, Integer.class},
                resolvedParameterizedType.getActualTypeArguments());
    }
}