}
@Test
public void stringToEnumWithField() {
TextField tf = new TextField();
tf.setConverter(new ReverseConverter(anotherTestEnumConverter));
tf.setPropertyDataSource(new ObjectProperty(AnotherTestEnum.TWO));
Assert.assertEquals(AnotherTestEnum.TWO.toString(), tf.getValue());
tf.setValue(AnotherTestEnum.ONE.toString());
Assert.assertEquals(AnotherTestEnum.ONE.toString(), tf.getValue());
Assert.assertEquals(AnotherTestEnum.ONE, tf.getConvertedValue());