@Test public final void shouldIsCheckedReturnFalseIfFieldValueIsNull() { checkBoxComponentState.setFieldValue(null); boolean isChecked = checkBoxComponentState.isChecked(); assertFalse(isChecked); }
@Override public boolean isChecked() { return CHECKED_VALUE.equals(getFieldValue()); }
CheckBoxComponentState extends FieldComponentState implements CheckBoxComponent { @Override public boolean isChecked() { return CHECKED_VALUE.equals(getFieldValue()); } }
CheckBoxComponentState extends FieldComponentState implements CheckBoxComponent { @Override public boolean isChecked() { return CHECKED_VALUE.equals(getFieldValue()); } CheckBoxComponentState(final FieldComponentPattern pattern); }
CheckBoxComponentState extends FieldComponentState implements CheckBoxComponent { @Override public boolean isChecked() { return CHECKED_VALUE.equals(getFieldValue()); } CheckBoxComponentState(final FieldComponentPattern pattern); @Override void setChecked(boolean value); @Override boolean isChecked(); }
CheckBoxComponentState extends FieldComponentState implements CheckBoxComponent { @Override public boolean isChecked() { return CHECKED_VALUE.equals(getFieldValue()); } CheckBoxComponentState(final FieldComponentPattern pattern); @Override void setChecked(boolean value); @Override boolean isChecked();  }