@Test
public void testConvertShouldCorrectlyHandleLeadingEmptyString() {

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