void () { final List<SubstitutionChunk> chunks = filterSubstitutions(parseNewStyleFormat("{1}, {0}")); TestCase.assertEquals(2, chunks.size()); assertEquals(TextRange.create(0, 3), chunks.get(0).getTextRange()); assertEquals(TextRange.create(5, 8), chunks.get(1).getTextRange()); }