function testYesNoPreserveValue() {
  yesno.setValue(VALUE);
  yesno.render();
  assertEquals(VALUE, yesno.getValue());
  assertTrue(yesno.yesRadio_.checked);
  assertFalse(yesno.noRadio_.checked);
  assertTrue(yesno.isChecked());
}
/**
 * Tests if yesno items preserve value after re-render.
 */
Tests if yesno items preserve value after re-render.
Tests if yesno items preserve value after re - render .
function testYesNoPreserveValue() {
  yesno.setValue(VALUE);
  yesno.render();
  assertEquals(VALUE, yesno.getValue());
  assertTrue(yesno.yesRadio_.checked);
  assertFalse(yesno.noRadio_.checked);
  assertTrue(yesno.isChecked());
}
function testYesNoPreserveValue ( ) { yesno . setValue ( VALUE ) ; yesno . render ( ) ; assertEquals ( VALUE , yesno . getValue ( ) ) ; assertTrue ( yesno . yesRadio_ . checked ) ; assertFalse ( yesno . noRadio_ . checked ) ; assertTrue ( yesno . isChecked ( ) ) ; }
Tests if yesno items preserve value after re-render.
Tests if yesno items preserve value after re - render .