editor.activateTool(TOOL_CONNECTION);
editor.drag(100, 20, 130, 20);
editor.click(130, 20);
final SWTBotGefEditPart circuitPart = editor.editParts(instanceOf(CircuitEditPart.class)).get(0);
final SWTBotGefConnectionEditPart wirePart = circuitPart.sourceConnections().get(0);
final Wire wire = (Wire) (wirePart.part()).getModel();
final Connection connection = (Connection) wirePart.part().getFigure();
editor.activateTool("Select");
assertEquals("Select", getActiveToolLabel());