@Test
public void joinWithIteratorPairNameSepsQuoteNameValuesShouldJoinParamsAccordingly() throws IOException {

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