public void testUpdateFromTargetImmediately() throws Exception { assertNull(bean.getProperty()); target.setValue("TestValue"); // $NON-NLS-1$ assertEquals("TestValue", bean.getProperty()); // $NON-NLS-1$ }
public void testUpdateFromModelOnRequest() throws Exception { assertNull(target.getValue()); bean.setProperty("TestValue"); // $NON-NLS-1$ assertNull(target.getValue()); valueBindingSupport.updateFromModel(); assertEquals("TestValue", target.getValue()); // $NON-NLS-1$ }