@Test
public void testConvertShouldCreateVarargsArrayForMultipleOnlyVarargsArguments() {

    // Given:
    String data = "1, 2, 3";
    Class<?>[] parameterTypes = new Class<?>[] { long[].class };
    when(context.getSplitBy()).thenReturn(",");
    when(context.isTrimValues()).thenReturn(true);
    // When:
    Object[] result = underTest.convert(data, true, parameterTypes, context, 94);
    // Then:
    assertThat(result).containsExactly(new long[] { 1, 2, 3 });
}