Bug 305796 model reconciler tests need rework
They need re-work as there is a level of indirection between a binding container and the bindings. PW
bundles/org.eclipse.e4.ui.bindings/src/org/eclipse/e4/ui/bindings/internal/BindingServiceImpl.java
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import javax.inject.Inject;
import org.eclipse.core.commands.ParameterizedCommand;
import org.eclipse.e4.core.services.context.IEclipseContext;
import org.eclipse.e4.ui.bindings.EBindingService;
import org.eclipse.jface.bindings.Binding;
import org.eclipse.jface.bindings.Trigger;
import org.eclipse.jface.bindings.TriggerSequence;
import org.eclipse.jface.bindings.keys.IKeyLookup;
import org.eclipse.jface.bindings.keys.KeyBinding;
import org.eclipse.jface.bindings.keys.KeyLookupFactory;
import org.eclipse.jface.bindings.keys.KeySequence;
import org.eclipse.jface.bindings.keys.KeyStroke;
import org.eclipse.jface.bindings.keys.ParseException;
/**
 *
 */
public class BindingServiceImpl implements EBindingService {
	static HashMap<Binding, String[]> prefixCache = new HashMap<Binding, String[]>();
	static String[] getPrefixes(Binding b) {
		String[] prefixes = prefixCache.get(b);
		if (prefixes == null) {
			TriggerSequence[] prefs = b.getTriggerSequence().getPrefixes();
			prefixes = new String[prefs.length - 1];
			prefixCache.put(b, prefixes);
			for (int i = 1; i < prefs.length; i++) {
				prefixes[i - 1] = B_SEQ + prefs[i];
			}