public void testExpanded() { Fixture.fakePhase(PhaseId.PROCESS_ACTION); Display display = new Display(); Composite shell = new Shell(display, SWT.NONE); Twistie twistie = new Twistie(shell, SWT.NONE); twistie.setExpanded(true); assertTrue(twistie.isExpanded()); }