*/
@Test
public void testFlatToggleButton() {
Action on = new DemoAction("on");
Action off = new DemoAction("off");
FlatToggleButton button = new FlatToggleButton(on, off, 20, 80);
assertTrue("width", button.getWidth() == 20);
assertTrue("width", button.getHeight() == 80);
assertTrue("action", button.getAction() == on);
}