LogCollectorApp extends App { List<String> collectCookies(String value) { if (value == null) return null; return parseList(value); }    }
@Test void collectCookies() { assertThat(app.collectCookies(null)).isNull(); List<String> cookies = app.collectCookies("visitor_id"); assertThat(cookies).containsExactly("visitor_id"); }