public void doubleClick() throws Exception {
editor.activateTool(TOOL_CIRCUIT);
editor.click(10, 10);
SWTBotGefEditPart circuitEditPart = editor.editParts(instanceOf(CircuitEditPart.class)).get(0);
Circuit circuit = (Circuit) circuitEditPart.part().getModel();
final String nameBeforeDoubleClick = circuit.getName();
editor.select(circuitEditPart).doubleClick(15, 15);
/* we need to wait that double click have been executed */
syncWithUIThread();
final String nameAfterDoubleClick = circuit.getName();
assertFalse("circuit name was not modified by double click", nameBeforeDoubleClick.equals(nameAfterDoubleClick));
}