void () { List<FormatStringChunk> chunks = parsePercentFormat("%(name1s"); PercentSubstitutionChunk chunk = (PercentSubstitutionChunk)chunks.get(0); assertEquals("name1s", chunk.getMappingKey()); assertTrue(chunk.isUnclosedMapping()); }