@Test public void testGetValueWhenCheckBoxIsNotChecked() { final boolean expectedValue = false; inputCheckbox.checked = expectedValue; final boolean actualValue = view.getValue(); assertEquals(expectedValue, actualValue); }
@Override public boolean getValue() { return isChecked(); }
SmallSwitchComponentView implements SmallSwitchComponent.View { @Override public boolean getValue() { return isChecked(); } }
SmallSwitchComponentView implements SmallSwitchComponent.View { @Override public boolean getValue() { return isChecked(); } @Inject  SmallSwitchComponentView(final HTMLInputElement inputCheckbox); }
SmallSwitchComponentView implements SmallSwitchComponent.View { @Override public boolean getValue() { return isChecked(); } @Inject  SmallSwitchComponentView(final HTMLInputElement inputCheckbox); @Override void init(final SmallSwitchComponent presenter); @EventHandler("input-checkbox") void onInputCheckBoxChange(final ChangeEvent e); @Override boolean getValue(); @Override void setValue(final boolean value); @Override void setOnValueChanged(final Consumer<Boolean> onValueChanged); }
SmallSwitchComponentView implements SmallSwitchComponent.View { @Override public boolean getValue() { return isChecked(); } @Inject  SmallSwitchComponentView(final HTMLInputElement inputCheckbox); @Override void init(final SmallSwitchComponent presenter); @EventHandler("input-checkbox") void onInputCheckBoxChange(final ChangeEvent e); @Override boolean getValue(); @Override void setValue(final boolean value); @Override void setOnValueChanged(final Consumer<Boolean> onValueChanged);  }