JCheckBox checkBox = new JCheckBox();
BindingRegistration reg = bind().selectedOf(checkBox).to(model, ModelForTests.SELECTED);
checkBox.setSelected(true);
assertEquals(Boolean.TRUE, model.getSelected());
reg.unbind();
// when
checkBox.setSelected(false);
// then
assertEquals(Boolean.TRUE, model.getSelected());
}