"localhost_0", "TestDB", "TestDB_0"));
messages.add(TestHelper.createMessage(MessageId.from("msgId_1"), "MASTER", "SLAVE",
"localhost_1", "TestDB", "TestDB_0"));
Map<State, Bounds> stateConstraints = new HashMap<State, Bounds>();
stateConstraints.put(State.from("MASTER"), new Bounds(0, 1));
stateConstraints.put(State.from("SLAVE"), new Bounds(0, 2));
Map<String, Integer> stateTransitionPriorities = new HashMap<String, Integer>();
stateTransitionPriorities.put("MASTER-SLAVE", 0);
stateTransitionPriorities.put("SLAVE-MASTER", 1);