void (@NotNull Map<String, ?> args) { @SuppressWarnings("unchecked") List<ArrangementGroupingRule> groupingRules = ObjectUtils.coalesce((List<ArrangementGroupingRule>)args.get("groups"), Collections.emptyList()); List<?> rules = (List<?>)args.get("rules"); List<ArrangementSectionRule> sectionRules = getSectionRules(rules); @SuppressWarnings("unchecked") List<StdArrangementRuleAliasToken> aliases = ObjectUtils.coalesce((List<StdArrangementRuleAliasToken>)args.get("aliases"), Collections.emptyList()); final StdArrangementSettings arrangementSettings = new StdArrangementExtendableSettings(groupingRules, sectionRules, aliases); String text = (String)args.get("initial"); String expected = (String)args.get("expected"); @SuppressWarnings("unchecked") List<TextRange> ranges = (List<TextRange>)args.get("ranges"); doTestWithSettings(text, expected, arrangementSettings, ranges); }