void () { String[] args = {"bar", "ignored=xxx;yyy;zzz/zzz", "critical=", "ignored=aaa", "baz", "critical=ccc"}; assertThat(Runner.extractArguments(args, "ignored")).containsExactly("xxx", "yyy", "zzz/zzz", "aaa"); assertThat(Runner.extractArguments(args, "critical")).containsExactly("ccc"); assertThat(Runner.extractArguments(args, "unknown")).isEmpty(); }