@Test public void testSetValueWhenValueIsTrue() { final boolean value = true; switchComponent.setValue(value); verify(view).setValue(value); }
public void setValue(final boolean value) { view.setValue(value); }
SmallSwitchComponent { public void setValue(final boolean value) { view.setValue(value); } }
SmallSwitchComponent { public void setValue(final boolean value) { view.setValue(value); } @Inject  SmallSwitchComponent(final View view); }
SmallSwitchComponent { public void setValue(final boolean value) { view.setValue(value); } @Inject  SmallSwitchComponent(final View view); HTMLElement getElement(); boolean getValue(); void setValue(final boolean value); void setOnValueChanged(final Consumer<Boolean> onValueChanged); }
SmallSwitchComponent { public void setValue(final boolean value) { view.setValue(value); } @Inject  SmallSwitchComponent(final View view); HTMLElement getElement(); boolean getValue(); void setValue(final boolean value); void setOnValueChanged(final Consumer<Boolean> onValueChanged);  }