@Test
public void testConvertShouldNotForwardArrayIfVarargsIsArrayOfArray() {

    // Given:
    Object[] data = new Object[] { new int[] { 1, 2 } };
    Class<?>[] parameterTypes = new Class<?>[] { int[].class };
    // When:
    Object[] result = underTest.convert(data, true, parameterTypes);
    // Then:
    assertThat(result).isEqualTo(new int[][] { { 1, 2 } });
}