void () { List<FormatStringChunk> chunks = parsePercentFormat("%(language)s"); TestCase.assertEquals(1, chunks.size()); PercentSubstitutionChunk chunk = (PercentSubstitutionChunk)chunks.get(0); assertEquals("language", chunk.getMappingKey()); assertEquals('s', chunk.getConversionType()); }