@Test
public void testConvertShouldCallStringConverterOnlyOnceForStringArrayWithOneElement() {

    // Given:
    String[] data = new String[] { "foo,true" };
    Class<?>[] parameterTypes = new Class<?>[] { String.class, boolean.class };
    // When:
    List<Object[]> result = underTest.convert(data, false, parameterTypes, dataProvider);
    // Then:
    assertThat(result).hasSize(1);
    verify(stringConverter).convert(eq(data[0]), eq(false), eq(parameterTypes), any(ConverterContext.class), eq(0));
    verifyNoMoreInteractions(objectArrayConverter, singleArgConverter, stringConverter);
}