private void controlDoubleValueChanged(final JButton jbEnvoyer,
final JTextField txtField, final AttributeNumberScalarInput widget,
final String value1, final String value2) throws DevFailed {
final IWidgetListenerImpl listenerTest = new IWidgetListenerImpl();
widget.addWidgetListener(listenerTest);
writeInTextField(txtField, jbEnvoyer, value1);
Assert.assertTrue(listenerTest.isLaterNotified("doubleValueChanged",
5000L));
Assert.assertTrue(new Double(Double.parseDouble(value1))
.equals(listenerTest.getNotification("doubleValueChanged")));
// v�rifier que le remove du listener est correctement trait�
widget.removeWidgetListener(listenerTest);
listenerTest.reset();
writeInTextField(txtField, jbEnvoyer, value2);
Assert.assertTrue(!listenerTest.isNotified("doubleValueChanged"));
}