void () { MyInspection inspection = new MyInspection(); OptPane pane = inspection.getOptionsPane(); assertEquals(2, pane.findControl("x").getValue(inspection)); assertEquals(3.0, pane.findControl("d").getValue(inspection)); assertEquals(true, pane.findControl("y").getValue(inspection)); pane.findControl("x").setValue(inspection, 5); assertEquals(5, inspection.x); pane.findControl("d").setValue(inspection, 2.5); assertEquals(2.5, inspection.d); }