public void run() {
ExpressionArea area = new ExpressionArea();
IntegrationProject project = IntegrationProject.createNewProject("Test");
Operation op = new Operation("Op");
project.insertEntityUnderRoot(op);
String oldPath = new EntityPath(op).toString();
String expression = getRunOperationCall(op);
area.setText(ScriptConstants.wrapInTags(expression));
op.setName("$Op");
String newPath = new EntityPath(op).toString();
PathChangeHandler changeHandler = new PathChangeHandler(area);
changeHandler.pathsHaveChanged(Arrays.asList(new PathChange(op, oldPath, newPath)));
String newExpression = area.getText();
assertTrue(newExpression.contains(getRunOperationCall(op)));
}