@Test
public void testConvertShouldCreateEmptyVarargsArrayForMissingOnlyVarargsArgument() {

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