// mixed2.onInput -> mixed1.update
{
Value currentInput = assertHasCurrentInput(mixed2);
Event onInput = mixed2.getOnInput();
Operation update = assertHasOperation(mixed1, "update");
// RunAction connecting the two
ECARule run = assertHasRunAction(root, onInput, update, "run");
// with the currentInput as parameter
Parameter param = assertHasParameter(root, currentInput, run);
assertGenerated(param);
// NOT the fieldValue
Value fieldValue = assertHasFieldValue(mixed2);
assertHasNoParameter(root, fieldValue, run);
}
// mixed2.onInput !-> mixed1.update
{
Event onInput = mixed2.getOnInput();
Operation update = assertHasOperation(mixed3, "update");
// NO RunAction connecting the two
assertHasNoRunAction(root, onInput, update);
}