@Test
public void testConfigBuilderListDelimiter() {

    Swagger2MarkupConfigBuilder builder = new Swagger2MarkupConfigBuilder();
    builder.withListDelimiter();
    Swagger2MarkupConfig config = builder.build();
    assertThat(config.isListDelimiterEnabled()).isEqualTo(true);
    builder.withListDelimiter(Character.valueOf('|'));
    config = builder.build();
    assertThat(config.getListDelimiter()).isEqualTo(Character.valueOf('|'));
    assertThat(config.isListDelimiterEnabled()).isEqualTo(true);
}