void () { List<FormatStringChunk> chunks = parsePercentFormat("%#0d"); TestCase.assertEquals(1, chunks.size()); PercentSubstitutionChunk chunk = (PercentSubstitutionChunk)chunks.get(0); assertEquals("#0", chunk.getConversionFlags()); }