Package org.fest.swing.fixture
Interface TwoStateButtonFixture
- All Known Implementing Classes:
JCheckBoxFixture
,JRadioButtonFixture
,JToggleButtonFixture
public interface TwoStateButtonFixture
Understands state verification of "two-state" buttons.
-
Method Summary
Modifier and TypeMethodDescriptionVerifies that this fixture's
is not selected.JToggleButton
Verifies that this fixture's
is selected.JToggleButton
-
Method Details
-
requireSelected
TwoStateButtonFixture requireSelected()Verifies that this fixture's
is selected.JToggleButton
- Returns:
- this fixture.
- Throws:
AssertionError
- if this fixture'sJToggleButton
is not selected.
-
requireNotSelected
TwoStateButtonFixture requireNotSelected()Verifies that this fixture's
is not selected.JToggleButton
- Returns:
- this fixture.
- Throws:
AssertionError
- if this fixture'sJToggleButton
is selected.
-