@Test
public void should_convert_sequence_of_blank_strings_to_empty_string_array() throws Exception {

    // given
    StateTypeConverter typeConverter = new StateTypeConverter();
    String[] arrayOfEmptyStrings = Arrays.array("", "", "", "", "");
    // when
    String[] convertedStringArray = typeConverter.convert(" ,   ,   ,   ,       ", String[].class);
    // then
    assertThat(convertedStringArray).isEqualTo(arrayOfEmptyStrings);
}