@Test
public void joinWithWriterListPairNameSepsQuoteNameValuesShouldJoinParamsAccordingly() throws IOException {

    StringWriter actual = new StringWriter();
    Pairs.join(actual, PAIRS, 's', 'e', true, true);
    assertEquals("\"p1\"e\"v1\"s\"p2\"e\"v2\"", actual.toString());
    actual = new StringWriter();
    Pairs.join(actual, PAIRS, 's', 'e', false, true);
    assertEquals("p1e\"v1\"sp2e\"v2\"", actual.toString());
    actual = new StringWriter();
    Pairs.join(actual, PAIRS, 's', 'e', true, false);
    assertEquals("\"p1\"ev1s\"p2\"ev2", actual.toString());
    actual = new StringWriter();
    Pairs.join(actual, PAIRS, 's', 'e', false, false);
    assertEquals("p1ev1sp2ev2", actual.toString());
}