// null
assertEquals(42, tf.getConvertedValue());
}
public void testApplicationConverterFactoryForDifferentThanCurrentApplication() {
final VaadinSession fieldAppWithCustomIntegerConverter = new AlwaysLockedVaadinSession(
null);
fieldAppWithCustomIntegerConverter
.setConverterFactory(new ConverterFactory42());
VaadinSession.setCurrent(new AlwaysLockedVaadinSession(null));
TextField tf = new TextField("", "123") {
@Override
public VaadinSession getSession() {
return fieldAppWithCustomIntegerConverter;