* the given elements, and only with the given name.
*
* @return The element found
*/
public static ExecutionEdge assertHasExecutionEdge(EObject container, ExecutionEdgesSource from, ExecutionEdgeDestination to, String name) throws JaxenException {
ExecutionEdge result = null;
for (ExecutionEdge e : from.getOutExecutions()) {
if (from.equals(e.getFrom()) && to.equals(e.getTo()) && name.equals(e.getName())) {
if (result != null) {
fail("Found more than one execution edge from '" + from + "' to '" + to + "' with name '" + name + "'. First = '" + result + ", second = '" + e + "'");
}