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