@Test(dataProvider="offsets")
public void test_print(String pattern, String expected, ZoneOffset offset) throws Exception {
buf.append("EXISTING");
printContext.setDateTime(new DateTimeBuilder(OFFSET_SECONDS, offset.getTotalSeconds()));
OffsetIdPrinterParser pp = new OffsetIdPrinterParser("NO-OFFSET", pattern);
pp.print(printContext, buf);
assertEquals(buf.toString(), "EXISTING" + expected);
}