@Test
public void testActualTypeArguments_resolveParameterizedType_nestedParameterizedTypes() {

    final Type resolvedType = resolverWithTypeArguments.resolveType(declaredFieldsWithTypeArguments[5]);
    assertTrue(resolvedType instanceof ParameterizedType);
    final ParameterizedType resolvedParameterizedType = (ParameterizedType) resolvedType;
    assertEquals(OneParameterizedType.class, resolvedParameterizedType.getRawType());
    assertArrayEquals(
            new Type[]{
                    new B2TypeResolver.ResolvedParameterizedType(
                            TwoParameterizedTypes.class,
                            new Type[]{Integer.class, String.class}
                    )
            }, resolvedParameterizedType.getActualTypeArguments());
    final Type[] resolvedActualTypeArguments = resolvedParameterizedType.getActualTypeArguments();
    assertEquals(1, resolvedActualTypeArguments.length);
    assertTrue(resolvedActualTypeArguments[0] instanceof B2TypeResolver.ResolvedParameterizedType);
    final B2TypeResolver.ResolvedParameterizedType resolvedParameterizedType_nested = (B2TypeResolver.ResolvedParameterizedType) resolvedActualTypeArguments[0];
    assertEquals(TwoParameterizedTypes.class, resolvedParameterizedType_nested.getRawType());
    assertArrayEquals(new Type[]{Integer.class, String.class}, resolvedParameterizedType_nested.getActualTypeArguments());
}