@Test
public void replaceCommasWithPipes() {

  String expected = "*|*.google.com|*|*.google.com|proxy.com|last.com";
  assertThat(ProxySettings.replaceCommasWithPipesAndClean(TEST_INPUT)).isEqualTo(expected);
}