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'sis not selected.JToggleButtonVerifies that this fixture'sis selected.JToggleButton
-
Method Details
-
requireSelected
TwoStateButtonFixture requireSelected()Verifies that this fixture'sis selected.JToggleButton- Returns:
- this fixture.
- Throws:
AssertionError- if this fixture'sJToggleButtonis not selected.
-
requireNotSelected
TwoStateButtonFixture requireNotSelected()Verifies that this fixture'sis not selected.JToggleButton- Returns:
- this fixture.
- Throws:
AssertionError- if this fixture'sJToggleButtonis selected.
-