PadPrinterParserDecorator pp = new PadPrinterParserDecorator(wrapped, 5, ' ');
assertEquals(pp.toString(), "Pad('Y',5)");
}
public void test_toString2() throws Exception {
CharLiteralPrinterParser wrapped = new CharLiteralPrinterParser('Y');
PadPrinterParserDecorator pp = new PadPrinterParserDecorator(wrapped, 5, '-');
assertEquals(pp.toString(), "Pad('Y',5,'-')");
}